]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (applesmc) Silence uninitialized warnings
authorHenrik Rydberg <rydberg@euromail.se>
Thu, 26 Jan 2012 11:08:41 +0000 (06:08 -0500)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:41 +0000 (18:27 -0700)
commit0fc86eca1b338d06ec500b34ef7def79c32b602b
tree6e603e2dbfa96122487dce37caeb9e6d877be87a
parent7599d32b1332546a3c0af17ce925ce7a8e89bfa1
hwmon: (applesmc) Silence uninitialized warnings

Some error paths do not set a result, leading to the (false)
assumption that the value may be used uninitialized. Set results for
those paths as well.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/applesmc.c