]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers-platform-x86-sony-laptopc-fix-scancodes-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 8 Dec 2011 04:32:11 +0000 (15:32 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Dec 2011 04:52:24 +0000 (15:52 +1100)
commit59b6e1734e50656a42a712a00e674989e0292db1
treec2f7be51fa2cbb16128ab77af58c902d1076f331
parent58b5811c48991926ecb9177758ea00d5b1162cec
drivers-platform-x86-sony-laptopc-fix-scancodes-checkpatch-fixes

ERROR: do not use assignment in if condition
#59: FILE: drivers/platform/x86/sony-laptop.c:384:
+ if ((scancode = sony_laptop_input_index[event]) != -1) {

total: 1 errors, 0 warnings, 39 lines checked

./patches/drivers-platform-x86-sony-laptopc-fix-scancodes.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/platform/x86/sony-laptop.c