mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
staging/fwserial: Fix build breakage when !CONFIG_BUG
Use WARN() as intended. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1b6c710e2a
commit
1b94242a69
@ -33,10 +33,7 @@
|
||||
|
||||
#define FAIL(fifo, condition, format...) ({ \
|
||||
fifo->corrupt = !!(condition); \
|
||||
if (unlikely(fifo->corrupt)) { \
|
||||
__WARN_printf(format); \
|
||||
} \
|
||||
unlikely(fifo->corrupt); \
|
||||
WARN(fifo->corrupt, format); \
|
||||
})
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user