aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2020-07-23 21:15:18 -0700
committerLinus Torvalds <[email protected]>2020-07-24 12:42:41 -0700
commit45779b036d3d2870633443a9f9bd03c177befbf5 (patch)
treeabef90c1a93704fe1dada6dc17f47adee09abc69 /tools/perf/scripts/python/export-to-sqlite.py
parent3bef735ad7b7d987069181e7b58588043cbd1509 (diff)
mm: initialize return of vm_insert_pages
clang static analysis reports a garbage return In file included from mm/memory.c:84: mm/memory.c:1612:2: warning: Undefined or garbage value returned to caller [core.uninitialized.UndefReturn] return err; ^~~~~~~~~~ The setting of err depends on a loop executing. So initialize err. Signed-off-by: Tom Rix <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions