lib: Downgrade fp_err() to be non-fatal

Similarly to b1ac865abd, downgrade
fp_err() to be non-fatal. A number of drivers would spit out an error
when encountering this call, but not crash, carry on and most of the
time recover.

Make sure we don't assert in those cases.
This commit is contained in:
Bastien Nocera 2018-07-16 16:08:12 +02:00
parent 29d3541b74
commit 19e7b217c1
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@
#define fp_dbg g_debug #define fp_dbg g_debug
#define fp_info g_debug #define fp_info g_debug
#define fp_warn g_warning #define fp_warn g_warning
#define fp_err g_error #define fp_err g_warning
#define BUG_ON(condition) G_STMT_START \ #define BUG_ON(condition) G_STMT_START \
if (condition) { \ if (condition) { \

View file

@ -42,7 +42,7 @@
#define fp_dbg g_debug #define fp_dbg g_debug
#define fp_info g_debug #define fp_info g_debug
#define fp_warn g_warning #define fp_warn g_warning
#define fp_err g_error #define fp_err g_warning
#define BUG_ON(condition) G_STMT_START \ #define BUG_ON(condition) G_STMT_START \
if (condition) { \ if (condition) { \