]> 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>
Mon, 12 Dec 2011 04:18:46 +0000 (15:18 +1100)
commitf91007812bf2204b69688a0abedeebfee55938b3
treea4da0f0cadda14fb6650a5996527aec10a9b5503
parent2e25df7f01f0798feaee90bf15946e08f64d41a7
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