aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorYizhuo <yzhai003@ucr.edu>2021-06-25 07:38:56 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-07-23 09:03:32 +0200
commit0c980e3f5276ba2eb95c42919c5f1694e38ef86a (patch)
treea37ddbb4e5af0c5d4c2e2ae8d507e5893b9fc418 /tools/perf/scripts/python/flamegraph.py
parentmedia: atomisp: use list_splice_init in atomisp_compat_css20.c (diff)
downloadlinux-0c980e3f5276ba2eb95c42919c5f1694e38ef86a.tar.gz
linux-0c980e3f5276ba2eb95c42919c5f1694e38ef86a.zip
media: atomisp: fix the uninitialized use and rename "retvalue"
Inside function mt9m114_detect(), variable "retvalue" could be uninitialized if mt9m114_read_reg() returns error, however, it is used in the later if statement, which is potentially unsafe. The local variable "retvalue" is renamed to "model" to avoid confusion. Link: https://lore.kernel.org/linux-media/20210625053858.3862-1-yzhai003@ucr.edu Fixes: ad85094b293e ("Revert "media: staging: atomisp: Remove driver"") Signed-off-by: Yizhuo <yzhai003@ucr.edu> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions