diff options
| author | Mahe Tardy <mahe.tardy@gmail.com> | 2026-07-10 18:09:15 +0000 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-10 20:52:25 +0200 |
| commit | 30f77a0419382ce061b2418de81526e93be4ecf9 (patch) | |
| tree | 0d20df99dc7808cd81c67f67eaf2ca8cd26fef99 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b1d4514ff1f96ee83192e17d3db766d2e4ec77f7 (diff) | |
bpf: Fix unused nskb warning in bpf_icmp_send
Declare nskb inside the IPv4 and IPv6 case blocks so it is only present
when the corresponding code is built. The case braces are intentional to
scope the local declarations under the switch labels.
Fixes: f3603df9aebb ("bpf: Add bpf_icmp_send kfunc")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
Link: https://lore.kernel.org/bpf/20260710180915.7105-1-mahe.tardy@gmail.com
Closes: https://lore.kernel.org/oe-kbuild-all/202607110140.JeJZ6GIa-lkp@intel.com/
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
