aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-postgresql-record
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-09-25 14:01:28 +0300
committerSebastian Reichel <sre@kernel.org>2020-01-14 01:26:14 +0100
commiteb368de6de32925c65a97c1e929a31cae2155aee (patch)
tree3fe792580977f94c7e304353fb6aa47a9841f08c /tools/perf/scripts/python/bin/export-to-postgresql-record
parentpower: supply: ltc2941-battery-gauge: fix use-after-free (diff)
downloadlinux-eb368de6de32925c65a97c1e929a31cae2155aee.tar.gz
linux-eb368de6de32925c65a97c1e929a31cae2155aee.zip
power: supply: sbs-battery: Fix a signedness bug in sbs_get_battery_capacity()
The "mode" variable is an enum and in this context GCC treats it as an unsigned int so the error handling is never triggered. Fixes: 51d075660457 ("bq20z75: Add support for charge properties") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
2014-12-17read-cache: optionally disallow HFS+ .git variantsJeff King8-5/+45 2014-12-17utf8: add is_hfs_dotgit() helperJeff King2-0/+72 2014-12-17fsck: notice .git case-insensitivelyJeff King2-1/+2 2014-12-17t1450: refactor ".", "..", and ".git" fsck testsJeff King1-30/+27 2014-12-17verify_dotfile(): reject .git case-insensitivelyJeff King2-2/+4