]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: ks7010: fix checkpatch CONSTANT_COMPARISON
authorTobin C. Harding <me@tobin.cc>
Thu, 9 Mar 2017 04:47:02 +0000 (15:47 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 13:06:46 +0000 (14:06 +0100)
commit745cab03e94c605de8b6966b770f6d520fa70107
treed2d691ba532000fe92ac04c10d876146c82f4d7c
parentc88ff5ae49a7f0e9eb2da2ddaba58475d45fbf31
staging: ks7010: fix checkpatch CONSTANT_COMPARISON

Checkpatch emits WARNING: Comparisons should place the constant on the
right side of the test.

Move comparison constant to the right side of the test.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c