]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8712: Move constant to right of test or replace with "!"
authorAlison Schofield <amsfield22@gmail.com>
Tue, 6 Oct 2015 21:40:58 +0000 (14:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:25:32 +0000 (10:25 +0100)
commit29b1b61435cd3e2890883b218a4c96c7df81f3c5
tree3ea4ecdba1608a5dfc30cae049282ea9e48f75e7
parent335b9efa7265d56890cc8ed3bafd78c86c33e664
staging: rtl8712: Move constant to right of test or replace with "!"

Move constant to the right side of comparison operator or replace
equality operator (==) with the unary negation operator (!) if the
comparison is to zero.

Addesses multiple instances of the checkpatch.pl warning:
WARNING: Comparisons should place the constant on the right side of the
test

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c