diff options
| author | Guenter Roeck <[email protected]> | 2012-03-24 15:38:21 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2012-04-01 17:24:34 +0000 |
| commit | 6394011d65b7e74666f07cca98747601cf8298fa (patch) | |
| tree | 18036d2fd612797970611b65f19c91947687af9f /lib/mpi/mpi-inline.h | |
| parent | hwmon: (max6639) Convert to dev_pm_ops (diff) | |
| download | kernel-6394011d65b7e74666f07cca98747601cf8298fa.tar.gz kernel-6394011d65b7e74666f07cca98747601cf8298fa.zip | |
hwmon: (f75375s) Fix warning message 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/f75375s.c: In function 'duty_mode_enabled':
drivers/hwmon/f75375s.c:280: warning: control reaches end of non-void function
drivers/hwmon/f75375s.c: In function 'auto_mode_enabled':
drivers/hwmon/f75375s.c:295: warning: control reaches end of non-void function
Fix the warning by returning something sensible after BUG().
Cc: Nikolaus Schulz <[email protected]>
Cc: Riku Voipio <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Jean Delvare <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
