diff options
author | Joel Stanley <joel@jms.id.au> | 2023-07-05 12:00:56 +0930 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-25 08:39:30 +1000 |
commit | cdebfd27292ecdebe7d493830354e302368b3188 (patch) | |
tree | 6f3b0e9b312118ba46fd69294584f25377721c8b /arch/powerpc/sysdev | |
parent | 61d7ebe0376e2640ba77be16e186b1a6c77eb3f7 (diff) | |
download | linux-cdebfd27292ecdebe7d493830354e302368b3188.tar.gz linux-cdebfd27292ecdebe7d493830354e302368b3188.tar.bz2 linux-cdebfd27292ecdebe7d493830354e302368b3188.zip |
powerpc/config: Disable SLAB_DEBUG_ON in skiroot
In 5.10 commit 5e84dd547bce ("powerpc/configs/skiroot: Enable some more
hardening options") set SLUB_DEBUG_ON.
When 5.14 came around, commit 792702911f58 ("slub: force on
no_hash_pointers when slub_debug is enabled") print all the
pointers when SLUB_DEBUG_ON is set. This was fine, but in 5.12 commit
5ead723a20e0 ("lib/vsprintf: no_hash_pointers prints all addresses as
unhashed") added the warning at boot.
Disable SLAB_DEBUG_ON as we don't want the nasty warning. We have
CONFIG_EXPERT so SLAB_DEBUG is enabled. We do lose the settings in
DEBUG_DEFAULT_FLAGS, but it's not clear that these should have been
always-on anyway.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230705023056.16273-1-joel@jms.id.au
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions