net: page_pool: fix warning code
authorJohannes Berg <johannes.berg@intel.com>
Fri, 5 Jul 2024 11:42:06 +0000 (13:42 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Jul 2024 03:19:18 +0000 (20:19 -0700)
commit946b6c48cca48591fb495508c5dbfade767173d0
tree57182c6711faddbba38cbfda496eab2fd1afe254
parente0ee68a8bef9cf27e324a017691ee64b235c310e
net: page_pool: fix warning code

WARN_ON_ONCE("string") doesn't really do what appears to
be intended, so fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: 90de47f020db ("page_pool: fragment API support for 32-bit arch with 64-bit DMA")
Link: https://patch.msgid.link/20240705134221.2f4de205caa1.I28496dc0f2ced580282d1fb892048017c4491e21@changeid
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/page_pool.c