summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorAndrzej Hajda2015-09-24 16:00:22 +0200
committerDarren Hart2015-10-03 18:41:54 +0200
commit963406ffa6e77ae85b400a9bc8b747813c4497cf (patch)
tree463ef0ee4b97294297d69fa735d76f5ef60f8240 /MAINTAINERS
parentintel_mid_powerbtn: Remove misuse of IRQF_NO_SUSPEND flag (diff)
downloadkernel-qcow2-linux-963406ffa6e77ae85b400a9bc8b747813c4497cf.tar.gz
kernel-qcow2-linux-963406ffa6e77ae85b400a9bc8b747813c4497cf.tar.xz
kernel-qcow2-linux-963406ffa6e77ae85b400a9bc8b747813c4497cf.zip
sony-laptop: Fix handling sony_nc_hotkeys_decode result
sony_nv_hotkeys_decode can return a negative value. real_ev is a u32 variable. The check for real_ev > 0 is incorrect. Use an intermediate ret variable. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> [dvhart: clarify commit msg, drop superfluous else block] Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions