Re: [PATCH] staging: lustre fix constant comparision style issue in lu_object.h

2017-03-13 Thread Craig Inches
On Mon, Mar 13, 2017 at 03:11:10PM +0300, Dan Carpenter wrote: > On Sun, Mar 12, 2017 at 02:37:22PM +0100, Greg KH wrote: > > On Sat, Mar 11, 2017 at 01:07:40PM +, Craig Inches wrote: > > > This patch resolves the "Comparisons should place the constant on > > > the right side of the test"

Re: [PATCH] staging: lustre fix constant comparision style issue in lu_object.h

2017-03-13 Thread Dan Carpenter
On Sun, Mar 12, 2017 at 02:37:22PM +0100, Greg KH wrote: > On Sat, Mar 11, 2017 at 01:07:40PM +, Craig Inches wrote: > > This patch resolves the "Comparisons should place the constant on > > the right side of the test" found with checkpatch tool. > > Both are constants, I think checkpatch is

Re: [PATCH] staging: lustre fix constant comparision style issue in lu_object.h

2017-03-12 Thread Greg KH
On Sat, Mar 11, 2017 at 01:07:40PM +, Craig Inches wrote: > This patch resolves the "Comparisons should place the constant on > the right side of the test" found with checkpatch tool. Both are constants, I think checkpatch is the thing that is wrong here, don't you agree? thanks, greg k-h

[PATCH] staging: lustre fix constant comparision style issue in lu_object.h

2017-03-11 Thread Craig Inches
This patch resolves the "Comparisons should place the constant on the right side of the test" found with checkpatch tool. Signed-off-by: Craig Inches --- drivers/staging/lustre/lustre/include/lu_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git