Re: [PATCH] staging: rtl8712: Fix Comparison with constant warning.

2016-02-07 Thread Greg Kroah-Hartman
On Sat, Feb 06, 2016 at 08:11:11PM +0530, Pinkesh Badjatiya wrote: > Fix Comparisons with constant on the left side of the test. > Checkpatch.pl warning. > -- > WARNING: Comparisons should place the constant on the right side of the > test > 296: FILE: ./rtl8712_cmd.c:296: > while ((0 != r871

Re: [PATCH] staging: rtl8712: Fix Comparison with constant warning.

2016-02-07 Thread Greg Kroah-Hartman
On Sat, Feb 06, 2016 at 08:53:57AM -0600, Larry Finger wrote: > On 02/06/2016 08:41 AM, Pinkesh Badjatiya wrote: > >Fix Comparisons with constant on the left side of the test. > >Checkpatch.pl warning. > >-- > >WARNING: Comparisons should place the constant on the right side of the > >test > >296:

Re: [PATCH] staging: rtl8712: Fix Comparison with constant warning.

2016-02-06 Thread Larry Finger
On 02/06/2016 08:41 AM, Pinkesh Badjatiya wrote: Fix Comparisons with constant on the left side of the test. Checkpatch.pl warning. -- WARNING: Comparisons should place the constant on the right side of the test 296: FILE: ./rtl8712_cmd.c:296: while ((0 != r8712_read32(pAdapter, IOCMD_CTR

[PATCH] staging: rtl8712: Fix Comparison with constant warning.

2016-02-06 Thread Pinkesh Badjatiya
Fix Comparisons with constant on the left side of the test. Checkpatch.pl warning. -- WARNING: Comparisons should place the constant on the right side of the test 296: FILE: ./rtl8712_cmd.c:296: while ((0 != r8712_read32(pAdapter, IOCMD_CTRL_REG)) && Signed-off-by: Pinkesh Badjatiya ---