Skip to content

Commit

Permalink
Staging: lustre: llite: Use () around long macro
Browse files Browse the repository at this point in the history
This patch fixes the following checkpatch.pl
error: "Macros with complex values should be enclosed
in parentheses."

Signed-off-by: Tina Ruchandani <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Tinabr7 authored and gregkh committed Oct 23, 2014
1 parent 588bf52 commit 907cd24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/lustre/lustre/llite/rw26.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static int ll_set_page_dirty(struct page *vmpage)
return __set_page_dirty_nobuffers(vmpage);
}

#define MAX_DIRECTIO_SIZE 2*1024*1024*1024UL
#define MAX_DIRECTIO_SIZE (2*1024*1024*1024UL)

static inline int ll_get_user_pages(int rw, unsigned long user_addr,
size_t size, struct page ***pages,
Expand Down

0 comments on commit 907cd24

Please sign in to comment.