aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorZhuang Yuyao <[email protected]>2016-04-18 00:21:42 +0000
committerAlexandre Belloni <[email protected]>2016-04-21 21:20:59 +0000
commit9a3dce62cc5640d7ea17733a2bd1b57665c232b0 (patch)
tree18262d9099432d76b6598453783c69ea25d77c8a /net/switchdev/switchdev.c
parentrtc: s3c: Document in binding that only s3c6410 needs a src clk (diff)
downloadkernel-9a3dce62cc5640d7ea17733a2bd1b57665c232b0.tar.gz
kernel-9a3dce62cc5640d7ea17733a2bd1b57665c232b0.zip
rtc: ds1307: ds3231 temperature s16 overflow
while retrieving temperature from ds3231, the result may be overflow since s16 is too small for a multiplication with 250. ie. if temp_buf[0] == 0x2d, the result (s16 temp) will be negative. Signed-off-by: Akinobu Mita <[email protected]> Tested-by: Michael Tatarinov <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions