aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2021-12-20 16:47:26 +0000
committerJonathan Cameron <[email protected]>2021-12-21 15:10:10 +0000
commitf4a73a97accf5635815de148cf077fa6d076812d (patch)
tree27bb86d5e3636f34bb9a5888b9b09150dc3753fb /tools/perf/scripts/python/export-to-sqlite.py
parentbfcacdd64df8df91311449642da70a8512431fa9 (diff)
iio:addac:ad74413r: Fix uninitialized ret in a path that won't be hit.
I don't believe it's possible to hit this, because we drop out of __iio_update_buffers() earlier in the event of an empty list. However, that is not visible to the compiler so lets return an error if we do hit the loop with an empty bitmask. Fixes: 5d97d9e9a703 ("iio: addac: ad74413r: fix off by one in ad74413r_parse_channel_config()") Signed-off-by: Jonathan Cameron <[email protected]> Cc: Cosmin Tanislav <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions