aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorTim Gardner <[email protected]>2021-10-07 06:04:13 -0600
committerDavid S. Miller <[email protected]>2021-10-08 15:18:39 +0100
commitd5ac07dfbd2b7f05d8ff43924dee2f09675dacb3 (patch)
tree56bbb94df6ce3467d0c08b14aa9813f4a0e5400a /tools/perf/scripts/python/check-perf-trace.py
parent339e75f6b9a076b3a9c01ab4bdd4f58975098445 (diff)
qed: Initialize debug string array
Coverity complains of an uninitialized variable. CID 120847 (#1 of 1): Uninitialized scalar variable (UNINIT) 3. uninit_use_in_call: Using uninitialized value *sw_platform_str when calling qed_dump_str_param. [show details] 1344 offset += qed_dump_str_param(dump_buf + offset, 1345 dump, "sw-platform", sw_platform_str); Fix this by removing dead code that references sw_platform_str. Fixes: 6c95dd8f0aa1d ("qed: Update debug related changes") Cc: Ariel Elior <[email protected]> Cc: [email protected] Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Shai Malin <[email protected]> Cc: Omkar Kulkarni <[email protected]> Cc: Prabhakar Kushwaha <[email protected]> Cc: [email protected] Cc: [email protected] (open list) Signed-off-by: Tim Gardner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions