summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2024-09-12 14:01:20 +0300
committerJakub Kicinski <kuba@kernel.org>2024-09-14 06:03:43 +0300
commit99655a304e450baaae6b396cb942b9e47659d644 (patch)
treebb74f3d57898dc0f6ae1db82d9ec219ddc3cf6c2 /tools/perf/scripts/python/gecko.py
parent9f3e7f11f21ac83cd99428390165177d4953b005 (diff)
downloadlinux-99655a304e450baaae6b396cb942b9e47659d644.tar.xz
net: tipc: avoid possible garbage value
Clang static checker (scan-build) warning: net/tipc/bcast.c:305:4: The expression is an uninitialized value. The computed value will also be garbage [core.uninitialized.Assign] 305 | (*cong_link_cnt)++; | ^~~~~~~~~~~~~~~~~~ tipc_rcast_xmit() will increase cong_link_cnt's value, but cong_link_cnt is uninitialized. Although it won't really cause a problem, it's better to fix it. Fixes: dca4a17d24ee ("tipc: fix potential hanging after b/rcast changing") Signed-off-by: Su Hui <suhui@nfschina.com> Reviewed-by: Justin Stitt <justinstitt@google.com> Link: https://patch.msgid.link/20240912110119.2025503-1-suhui@nfschina.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions