summaryrefslogtreecommitdiffstats
path: root/Documentation/development-process
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-03-28 18:14:03 +0200
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-04-09 21:17:38 +0200
commitd7ee11157f1fce02632e2f3a56b99b2afd9e5f93 (patch)
tree1dda4145ec73bd54659bf3ba7ff250d4833bc66a /Documentation/development-process
parenthwmon: (smsc47m1) Fix compiler warning (diff)
downloadlinux-d7ee11157f1fce02632e2f3a56b99b2afd9e5f93.tar.xz
linux-d7ee11157f1fce02632e2f3a56b99b2afd9e5f93.zip
hwmon: (pmbus_core) Fix compiler warning
Some configurations produce the following compiler warning: drivers/hwmon/pmbus/pmbus_core.c: In function 'pmbus_show_boolean': drivers/hwmon/pmbus/pmbus_core.c:752: warning: 'val' may be used uninitialized in this function While this is a false positive, it can easily be fixed by overloading the return value from pmbus_get_boolean with both val and error return code (val is a boolean and thus never negative). Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
Diffstat (limited to 'Documentation/development-process')
0 files changed, 0 insertions, 0 deletions