Bluetooth: Add BT_WARN convenience logging macro
Some logs indicate potentially problematic situations but are not necessarily errors. Since we do want to log these regardless of the debug setting it's better to have a separate BT_WARN macro for them. Change-Id: Iad13fc4b58329113458c97b02855033836618f5b Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
041c84c3e6
commit
50a25dcfd3
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@
|
|||
|
||||
#define BT_DBG(fmt, ...) printk("bt: %s: " fmt, __func__, ##__VA_ARGS__)
|
||||
#define BT_ERR(fmt, ...) printk("bt: %s: " fmt, __func__, ##__VA_ARGS__)
|
||||
#define BT_WARN(fmt, ...) printk("bt: %s: " fmt, __func__, ##__VA_ARGS__)
|
||||
#define BT_INFO(fmt, ...) printk("bt: " fmt, ##__VA_ARGS__)
|
||||
|
||||
/* HCI control APIs */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue