aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-10-24 10:12:29 +0300
committerAnton Vorontsov <[email protected]>2012-11-18 14:46:39 -0800
commit8511748ba1ab83a7d89d802a50335115358a8cfc (patch)
tree6a1e43229f4e4831e5d2fac487916baaf4bd0bb9 /net/unix/af_unix.c
parent08d816b8cb09de1fd8268c8f1dbc97c3cc435d67 (diff)
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 <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions