staging: lustre: fix comparisons should place the constant on the right side

This patch fixes checkpatch.pl warning:

WARNING: Comparisons should place the constant on the right side of the test

Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Aastha Gupta 2017-10-18 17:44:22 +05:30 committed by Greg Kroah-Hartman
parent 8b66d8eb32
commit 0bb73711b7
1 changed files with 1 additions and 1 deletions

View File

@ -1130,7 +1130,7 @@ struct lu_context_key {
{ \
type *value; \
\
BUILD_BUG_ON(PAGE_SIZE < sizeof(*value)); \
BUILD_BUG_ON(sizeof(*value) > PAGE_SIZE); \
\
value = kzalloc(sizeof(*value), GFP_NOFS); \
if (!value) \