]> 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>
Fri, 2 Dec 2011 03:08:41 +0000 (14:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:22 +0000 (14:15 +1100)
commitece10b5d5e28a7643f8e34e5089b19754f80d714
tree75602285469cfea3c8bfd65896cd14ab0803ffef
parent27b274cdd9872089e70fe1e4ff738a82f6723f64
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