1
linux/drivers/hwmon/pmbus
Guenter Roeck d7ee11157f 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>
2012-04-09 12:17:38 -07:00
..
adm1275.c hwmon: (adm1275) Add support for ADM1075 2012-03-18 18:27:52 -07:00
Kconfig hwmon: (zl6100) Add support for ZL9101M and ZL9117M 2012-03-18 18:27:53 -07:00
lm25066.c hwmon: (pmbus) Simplify remove functions 2012-03-18 18:27:46 -07:00
ltc2978.c hwmon: (pmbus) Simplify remove functions 2012-03-18 18:27:46 -07:00
Makefile hwmon: (pmbus/ltc2978) Explicit driver for LTC2978 2011-10-24 11:09:42 -07:00
max8688.c hwmon: (pmbus) Simplify remove functions 2012-03-18 18:27:46 -07:00
max16064.c hwmon: (pmbus) Simplify remove functions 2012-03-18 18:27:46 -07:00
max34440.c hwmon: (max34440) Add support for MAX34446 2012-03-18 18:27:52 -07:00
pmbus_core.c hwmon: (pmbus_core) Fix compiler warning 2012-04-09 12:17:38 -07:00
pmbus.c hwmon: (pmbus) Add support for Lineage Power MDT040 2012-03-18 18:27:50 -07:00
pmbus.h hwmon: (pmbus) Add more virtual registers 2012-03-18 18:27:51 -07:00
ucd9000.c hwmon: (pmbus) Simplify remove functions 2012-03-18 18:27:46 -07:00
ucd9200.c hwmon: (pmbus) Simplify remove functions 2012-03-18 18:27:46 -07:00
zl6100.c hwmon: (zl6100) Add support for ZL9101M and ZL9117M 2012-03-18 18:27:53 -07:00