mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04: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
1 changed files with 1 additions and 4 deletions
|
|
@ -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…
Reference in a new issue