Re: [PATCH] lib/interval_tree: fix allocation warning messages
Andrew Morton <[email protected]>
| Newsgroups | dev.linux.lists.llvm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 8 Aug 2026 14:36:08 +0200 Karl Mehltretter <[email protected]> wrote: > 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. lol, OK, thanks. fgrep -r 'WARN_ON_ONCE("' . finds more.