diff options
author | 2017-10-18 17:44:22 +0530 | |
---|---|---|
committer | 2017-10-18 15:34:46 +0200 | |
commit | 0bb73711b7dd65f101413338ae8f2e566c5946d4 (patch) | |
tree | 7ca93c4d34b285685ba54498bbf6ea7dbeef946e /drivers/staging/lustre | |
parent | staging: lustre: fix incorrect multi-line comment style (diff) | |
download | linux-0bb73711b7dd65f101413338ae8f2e566c5946d4.tar.gz linux-0bb73711b7dd65f101413338ae8f2e566c5946d4.tar.bz2 linux-0bb73711b7dd65f101413338ae8f2e566c5946d4.zip |
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>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r-- | drivers/staging/lustre/lustre/include/lu_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/include/lu_object.h b/drivers/staging/lustre/lustre/include/lu_object.h index 4f213c408cfa..a3c0481ca56f 100644 --- a/drivers/staging/lustre/lustre/include/lu_object.h +++ b/drivers/staging/lustre/lustre/include/lu_object.h @@ -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) \ |