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:
parent
8b66d8eb32
commit
0bb73711b7
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue