]> 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, 16 Dec 2011 04:49:30 +0000 (15:49 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:00:09 +0000 (17:00 +1100)
commit8fe7f546cdf6ff455d569a2091e98ddc54f7fa0e
treed0afa040339f10cad5a74e2f04c14036339c0823
parentd20e80f0f9f3260af798b0dc2d47c3917db65e55
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