summaryrefslogtreecommitdiff
path: root/drivers/phy/axiado/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorKarl Mehltretter <kmehltretter@gmail.com>2026-08-08 14:38:02 +0200
committerChristian Brauner <brauner@kernel.org>2026-08-12 09:20:35 +0200
commit9ac8fd831252e52aa78399eaccc11a72f6c2af1a (patch)
tree439d5eec2382251c06b0a581f84f2944ab6fe822 /drivers/phy/axiado/git@git.tavy.me:linux.git
parent83887ad02f30c1814bed5da3ca999f7b0f3f337c (diff)
super: fix dying superblock warning messages
WARN_ON_ONCE() takes a condition, not a message. The string literals are always true, so the warnings still trigger but the messages are never printed. Use WARN_ONCE(1, ...) instead to print the messages and keep the once-only behavior. Found with a Coccinelle script. Clang's -Wstring-conversion also flags such calls but is not enabled in kernel builds. Fixes: f0cd988016f6 ("fs: massage locking helpers") Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com> Link: https://patch.msgid.link/20260808123802.73687-1-kmehltretter@gmail.com Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'drivers/phy/axiado/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions