summaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorAaro Koskinen2009-10-19 21:24:02 +0200
committerSamuel Ortiz2009-12-13 19:21:25 +0100
commit56baa667973e53d6d38af2ad3731d558566d818b (patch)
treecacc84313e48bb592adb76fe6f28e790e5ab942c /REPORTING-BUGS
parentmfd: Add support for remapping twl4030-power power states (diff)
downloadkernel-qcow2-linux-56baa667973e53d6d38af2ad3731d558566d818b.tar.gz
kernel-qcow2-linux-56baa667973e53d6d38af2ad3731d558566d818b.tar.xz
kernel-qcow2-linux-56baa667973e53d6d38af2ad3731d558566d818b.zip
mfd: fix undefined twl4030-power resconfig value checks
The code tries to skip values initialized with -1, but since the values are unsigned the comparison is always true. The patch eliminates the following compiler warnings: drivers/mfd/twl4030-power.c: In function 'twl4030_configure_resource': drivers/mfd/twl4030-power.c:338: warning: comparison is always true due to limited range of data type drivers/mfd/twl4030-power.c:358: warning: comparison is always true due to limited range of data type drivers/mfd/twl4030-power.c:363: warning: comparison is always true due to limited range of data type Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions