summaryrefslogtreecommitdiff
path: root/drivers/hwmon/s3c-hwmon.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-06-12 15:27:49 (GMT)
committerGuenter Roeck <linux@roeck-us.net>2012-07-22 04:48:45 (GMT)
commitbbc8a569ae91e0951f4b7f8eb33ef1970bf2129c (patch)
treee14713b61b7ea24943786f64794d376476110d4e /drivers/hwmon/s3c-hwmon.c
parenta332bf9a65ab34b01226ed177f6937af843c8465 (diff)
downloadlinux-bbc8a569ae91e0951f4b7f8eb33ef1970bf2129c.tar.xz
hwmon: (w83781d) Fix compile warning
The following compile warning may be seen if the driver is compiled with -Wuninitialized: drivers/hwmon/w83781d.c: warning: 'sc_addr[1]' may be used uninitialized in this function [-Wuninitialized] While this is a false positive, it is annoying in nightly builds, and may help to conceal real problems. The current code is quite tricky, and and it is easy to rearrage the code to make the warning disappear. So fix it. Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/s3c-hwmon.c')
0 files changed, 0 insertions, 0 deletions