]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
af_unix: Replace BUG_ON() with WARN_ON_ONCE().
authorKuniyuki Iwashima <kuniyu@amazon.com>
Wed, 21 May 2025 15:27:04 +0000 (16:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:23 +0000 (14:40 +0200)
commita1ee63f7a0adf21360d7e21c7ef7fcb9bb1f938b
tree606924208bff7ff9f4eb51974cce48711070c3c9
parente9bd632f985f715f2f6253af82aa191b1a7166a8
af_unix: Replace BUG_ON() with WARN_ON_ONCE().

commit d0f6dc26346863e1f4a23117f5468614e54df064 upstream.

This is a prep patch for the last patch in this series so that
checkpatch will not warn about BUG_ON().

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20240129190435.57228-2-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/unix/garbage.c
net/unix/scm.c