git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d816b
)
ds2782_battery: Fix signedness bug in ds278x_read_reg16()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 24 Oct 2012 07:12:29 +0000
(10:12 +0300)
committer
Anton Vorontsov
<anton.vorontsov@linaro.org>
Sun, 18 Nov 2012 22:46:39 +0000
(14:46 -0800)
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>
No differences found