summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorAnkit Khushwaha <ankitkhushwaha.linux@gmail.com>2025-11-25 19:53:02 +0300
committerJakub Kicinski <kuba@kernel.org>2025-11-27 02:23:27 +0300
commitaf7273cc7ae01f5b3e34e62f59588ce79fe50f79 (patch)
tree76def2e9881ddc72135a8591bedb3a965f110d6f /tools/perf/scripts/python/bin/stackcollapse-record
parentab084f0b8d6d2ee4b1c6a28f39a2a7430bdfa7f0 (diff)
downloadlinux-af7273cc7ae01f5b3e34e62f59588ce79fe50f79.tar.xz
selftests/net: initialize char variable to null
char variable in 'so_txtime.c' & 'txtimestamp.c' were left uninitilized when switch default case taken. which raises following warning. txtimestamp.c:240:2: warning: variable 'tsname' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] so_txtime.c:210:3: warning: variable 'reason' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] initializing these variables to NULL to fix this. Signed-off-by: Ankit Khushwaha <ankitkhushwaha.linux@gmail.com> Link: https://patch.msgid.link/20251125165302.20079-1-ankitkhushwaha.linux@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions