aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorZicheng Qu <quzicheng@huawei.com>2024-10-31 01:45:05 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-31 21:47:23 +0000
commite2fb2f89faf87b681038475d093214f4cbe12ebb (patch)
tree0929abc9fc3c885584080afa3e0cf365eb668df6 /tools/perf/scripts/python/task-analyzer.py
parent62dd96ac9cdf2814f41cfc55ecaf22a28aad6ccb (diff)
downloadlinux-e2fb2f89faf87b681038475d093214f4cbe12ebb.tar.gz
linux-e2fb2f89faf87b681038475d093214f4cbe12ebb.tar.bz2
linux-e2fb2f89faf87b681038475d093214f4cbe12ebb.zip
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: stable@vger.kernel.org # v6.6+ Fixes: 38416c28e168 ("iio: light: Add gain-time-scale helpers") Signed-off-by: Zicheng Qu <quzicheng@huawei.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://patch.msgid.link/20241031014505.2313035-1-quzicheng@huawei.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions