Commit 0bb73711 authored by Aastha Gupta's avatar Aastha Gupta Committed by Greg Kroah-Hartman

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: default avatarAastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8b66d8eb
......@@ -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) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment