summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-10-24 09:12:29 +0200
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-18 23:46:39 +0100
commit8511748ba1ab83a7d89d802a50335115358a8cfc (patch)
tree6a1e43229f4e4831e5d2fac487916baaf4bd0bb9 /arch/tile
parentlp8788-charger: Fix ADC channel names (diff)
downloadlinux-8511748ba1ab83a7d89d802a50335115358a8cfc.tar.xz
linux-8511748ba1ab83a7d89d802a50335115358a8cfc.zip
ds2782_battery: Fix signedness bug in ds278x_read_reg16()
We need to check for negative values before doing the swab16() for the error handling to work. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'arch/tile')
0 files changed, 0 insertions, 0 deletions