Guenter Roeck
776cdc11b3
hwmon: (acpi_power_meter) Fix compiler warning seen in some configurations
...
In some configurations, BUG() does not result in an endless loop but returns
to the caller. This results in the following compiler warning:
drivers/hwmon/acpi_power_meter.c: In function 'show_str':
drivers/hwmon/acpi_power_meter.c:380: warning: 'val' may be used uninitialized in this function
Fix the warning by setting val to an empty string after BUG().
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
2012-04-09 12:17:37 -07:00
..
2012-04-06 19:56:04 -07:00
2012-03-22 20:22:30 -07:00
2012-03-28 18:30:03 +01:00
2012-04-07 09:56:00 -07:00
2012-04-06 17:54:53 -07:00
2012-04-05 15:30:34 -07:00
2012-04-06 17:56:20 -07:00
2012-03-29 16:53:48 -07:00
2012-04-05 22:13:39 -07:00
2012-04-06 21:48:59 -04:00
2012-03-22 18:15:32 -07:00
2012-03-27 16:03:32 -07:00
2012-04-05 15:30:34 -07:00
2012-04-06 17:56:20 -07:00
2012-03-28 18:30:03 +01:00
2012-04-04 13:13:18 -06:00
2012-04-05 15:30:34 -07:00
2012-04-05 15:25:50 -07:00
2012-04-09 12:17:37 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 18:30:03 +01:00
2012-04-05 15:25:50 -07:00
2012-03-28 18:30:03 +01:00
2012-03-29 23:17:44 -07:00
2012-04-05 15:30:34 -07:00
2012-04-02 17:53:39 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 18:30:03 +01:00
2012-04-03 15:39:23 +10:00
2012-03-29 18:02:10 -07:00
2012-03-20 21:48:19 +08:00
2012-03-28 15:58:21 -07:00
2012-04-05 15:30:34 -07:00
2012-04-05 15:30:34 -07:00
2012-04-05 20:32:34 -04:00
2012-04-05 15:30:34 -07:00
2012-04-06 17:56:20 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 14:08:46 -07:00
2012-04-05 15:25:50 -07:00
2012-03-28 15:58:21 -07:00
2012-04-06 17:54:53 -07:00
2012-03-29 16:00:48 -07:00
2012-03-30 16:45:39 -07:00
2012-03-30 16:45:39 -07:00
2012-03-30 16:09:02 -07:00
2012-04-04 10:09:30 -07:00
2012-04-05 15:25:50 -07:00
2012-04-05 15:30:34 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 18:30:03 +01:00
2012-04-05 15:30:34 -07:00
2012-03-30 00:09:17 -07:00
2012-04-05 15:30:34 -07:00
2012-03-20 21:04:47 -07:00
2012-03-30 16:03:15 -07:00
2012-04-06 18:57:05 -07:00
2012-03-22 01:10:18 -04:00
2012-04-07 09:52:46 -07:00
2012-04-05 22:13:39 -07:00
2012-04-05 15:25:50 -07:00
2012-03-23 14:46:48 -04:00
2012-04-05 22:13:39 -07:00
2012-03-31 08:09:51 +05:30
2012-03-29 18:02:10 -07:00
2012-04-06 17:54:53 -07:00
2012-04-02 09:50:40 -07:00
2012-04-02 09:50:40 -07:00