Skip to contentSkip to conversation

selftests/bpf: correct CONFIG_PPC64 macro name in comment

PATCH Superseded Ethan Nelson-Moore 2 participants 2 messages Jun 9

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/bpf: correct CONFIG_PPC64 macro name in comment

A comment in tools/testing/selftests/bpf/progs/test_fill_link_info.cc incorrectly refers to CONFIG_PPC6 instead of CONFIG_PPC64. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---
 tools/testing/selftests/bpf/progs/test_fill_link_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/progs/test_fill_link_info.c +1 -1
index fac33a14f200..137bd6292163 100644
@@ -12,7 +12,7 @@ extern bool CONFIG_PPC64 __kconfig __weak;
 
 /* This function is here to have CONFIG_X86_KERNEL_IBT,
  * CONFIG_PPC_FTRACE_OUT_OF_LINE, CONFIG_KPROBES_ON_FTRACE,
- * CONFIG_PPC6 used and added to object BTF.
+ * CONFIG_PPC64 used and added to object BTF.
  */
 int unused(void)
 {
Signature · 1 line
2.43.0
#1 lore raw
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] The commit message incorrectly references a `.cc` file extension instead of `.c`. --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The commit message incorrectly references a .cc file extension instead of .c. --

commit 0470ac8961767f5872635d802105fd894e99c3ae
Author: Ethan Nelson-Moore <[email protected]>

selftests/bpf: correct CONFIG_PPC64 macro name in comment

This commit fixes a typo in a comment within the BPF test program test_fill_link_info.c, correcting the CONFIG_PPC6 macro name to CONFIG_PPC64.

Quoted 1 line

A comment in tools/testing/selftests/bpf/progs/test_fill_link_info.cc

[Severity: Low]
This isn't a bug, but there is a typo in the commit message. The file name is referenced as test_fill_link_info.cc, but the actual modified file is test_fill_link_info.c.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1