aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorZicheng Qu <[email protected]>2024-10-31 01:45:05 +0000
committerJonathan Cameron <[email protected]>2024-10-31 21:47:23 +0000
commite2fb2f89faf87b681038475d093214f4cbe12ebb (patch)
tree0929abc9fc3c885584080afa3e0cf365eb668df6 /tools/perf/scripts/python/export-to-sqlite.py
parent62dd96ac9cdf2814f41cfc55ecaf22a28aad6ccb (diff)
iio: gts: Fix uninitialized symbol 'ret'
Initialize the variable ret at the time of declaration to prevent it from being returned without a defined value. Fixes smatch warning: drivers/iio/industrialio-gts-helper.c:256 gain_to_scaletables() error: uninitialized symbol 'ret'. Cc: [email protected] # v6.6+ Fixes: 38416c28e168 ("iio: light: Add gain-time-scale helpers") Signed-off-by: Zicheng Qu <[email protected]> Reviewed-by: Matti Vaittinen <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions