Skip to content

Commit

Permalink
config: Fix kconfig warnings
Browse files Browse the repository at this point in the history
We're getting the following warnings:

```
 #13 4.361 .config:85:warning: override: reassigning to symbol DEBUG_INFO_BTF
 #13 4.361 .config:86:warning: override: DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT changes choice state
 #13 4.361 .config:208:warning: override: reassigning to symbol VSOCKETS
```

The first and last are legit - we are double assigning. So just delete
the second assignments.

The middle we want to keep. It's probably safer to use the latest DWARF
version possible - pahole will be able to handle it. Older versions, who
knows. Safer to stay on bleeding edge, as it's what BPF subsystem tests
with.
  • Loading branch information
danobi committed Jan 5, 2025
1 parent 9c5d732 commit 408c041
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions config/config
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ CONFIG_BPF_SYSCALL=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_DEBUG_INFO_DWARF4=y
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DUMMY=y
CONFIG_DYNAMIC_FTRACE=y
Expand Down
3 changes: 0 additions & 3 deletions config/config.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ CONFIG_CRYPTO_BLAKE2B=y
CONFIG_CRYPTO_SEQIV=y
CONFIG_CRYPTO_XXHASH=y
CONFIG_DCB=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
CONFIG_X86_DECODER_SELFTEST=n
CONFIG_DEFAULT_FQ_CODEL=y
CONFIG_DEFAULT_RENO=y
Expand Down Expand Up @@ -165,7 +163,6 @@ CONFIG_VALIDATE_FS_PARSER=y
CONFIG_VETH=y
CONFIG_VIRT_DRIVERS=y
CONFIG_VLAN_8021Q=y
CONFIG_VSOCKETS=y
CONFIG_VSOCKETS_LOOPBACK=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_CPUID=y
Expand Down

0 comments on commit 408c041

Please sign in to comment.