aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIvan Zaentsev <[email protected]>2021-01-21 12:30:21 +0300
committerGreg Kroah-Hartman <[email protected]>2021-01-27 14:59:16 +0100
commit2f6055c26f1913763eabc66c7c27d0693561e966 (patch)
tree84fd692bced8187050502677b844771f85aea088 /tools/perf/scripts/python/stackcollapse.py
parent2c104a469a4ce276117acda94ccf922c3b82d735 (diff)
w1: w1_therm: Fix conversion result for negative temperatures
DS18B20 device driver returns an incorrect value for negative temperatures due to a missing sign-extension in w1_DS18B20_convert_temp(). Fix by using s16 temperature value when converting to int. Fixes: 9ace0b4dab1c (w1: w1_therm: Add support for GXCAS GX20MH01 device.) Cc: stable <[email protected]> Reported-by: PaweÅ‚ Marciniak <[email protected]> Signed-off-by: Ivan Zaentsev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions