]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (applesmc) Check key count before proceeding
authorHenrik Rydberg <rydberg@euromail.se>
Thu, 26 Sep 2013 06:33:16 +0000 (08:33 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 26 Sep 2013 10:48:43 +0000 (03:48 -0700)
commit3d802ccb34e14e550571f6857a42875fed8680f3
tree65f6f8c23358a92b038a43475bd7715a5f1d05b0
parent29aa408d191c0c32a7d6e7003f58580492a53e13
hwmon: (applesmc) Check key count before proceeding

After reports from Chris and Josh Boyer of a rare crash in applesmc,
Guenter pointed at the initialization problem fixed below. The patch
has not been verified to fix the crash, but should be applied
regardless.

Reported-by: <jwboyer@fedoraproject.org>
Suggested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/applesmc.c