summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-02-08 10:25:28 +0300
committerMark Brown <broonie@kernel.org>2018-02-08 15:36:35 +0000
commit86effbe0d198aaf57459ec9ad3855e88e29ecb1c (patch)
tree384c256c3436e04e9b3a9dc38063a25a10b2846c /tools/perf/scripts/python/export-to-sqlite.py
parenta75de77211842a7e120ce95ad156e4b3704dcde7 (diff)
regmap-i2c: Off by one in regmap_i2c_smbus_i2c_read/write()
The commit message says that we are allowed to read and write up to 32 bytes but the code only allows us to write 31 bytes. In other words, the ">=" should be changed to ">". But this is already checked in regmap_raw_read()/write() so we can just remove the if statemetents. Fixes: 29332534e2b6 ("regmap-i2c: Add smbus i2c block support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions