Staging: lustre: llite: Use () around long macro
authorTina Ruchandani <ruchandani.tina@gmail.com>
Wed, 22 Oct 2014 19:28:49 +0000 (12:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Oct 2014 03:09:12 +0000 (11:09 +0800)
This patch fixes the following checkpatch.pl
error: "Macros with complex values should be enclosed
in parentheses."

Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/rw26.c

index 14441b4df9b5da4b75a8f55689a848416caf008c..2f21304046aa9335e438b36f462be4aa62cbebd3 100644 (file)
@@ -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,