Re: [PATCH] staging:xgifb: Fix Comparisons should place the constant on the right side of the test warning

2016-04-27 Thread YU Bo
On Wed, Apr 27, 2016 at 04:58:36PM +0300, Dan Carpenter wrote: On Wed, Apr 27, 2016 at 09:27:39AM -0400, YU Bo wrote: Fixed checkpatch.pl's warning 'Comparisons should place the constant on the right side of the test' Signed-off-by: YU Bo --- drivers/staging/xgifb/vb_setmode.c |4 ++-- 1

Re: [PATCH] staging:xgifb: Fix Comparisons should place the constant on the right side of the test warning

2016-04-27 Thread YU Bo
On Wed, Apr 27, 2016 at 04:58:36PM +0300, Dan Carpenter wrote: On Wed, Apr 27, 2016 at 09:27:39AM -0400, YU Bo wrote: Fixed checkpatch.pl's warning 'Comparisons should place the constant on the right side of the test' Signed-off-by: YU Bo --- drivers/staging/xgifb/vb_setmode.c |4 ++-- 1

Re: [PATCH] staging:xgifb: Fix Comparisons should place the constant on the right side of the test warning

2016-04-27 Thread Dan Carpenter
On Wed, Apr 27, 2016 at 09:27:39AM -0400, YU Bo wrote: > Fixed checkpatch.pl's warning 'Comparisons should place the constant on > the right side of the test' > > Signed-off-by: YU Bo > --- > drivers/staging/xgifb/vb_setmode.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > d

[PATCH] staging:xgifb: Fix Comparisons should place the constant on the right side of the test warning

2016-04-27 Thread YU Bo
Fixed checkpatch.pl's warning 'Comparisons should place the constant on the right side of the test' Signed-off-by: YU Bo --- drivers/staging/xgifb/vb_setmode.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/