Hi all, After merging the bluetooth tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from net/bluetooth/mgmt.c:30: net/bluetooth/mgmt.c: In function 'load_link_keys': include/net/bluetooth/bluetooth.h:276:17: error: format '%u' expects argument of type 'unsigned int', but argument 3 has type '__u8 *' {aka 'unsigned char *'} [-Werror=format=] 276 | BT_WARN("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__) | ^~~~~~ include/net/bluetooth/bluetooth.h:262:41: note: in definition of macro 'BT_WARN' 262 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__) | ^~~ net/bluetooth/mgmt.c:2858:25: note: in expansion of macro 'bt_dev_warn' 2858 | bt_dev_warn(hdev, | ^~~~~~~~~~~ include/net/bluetooth/bluetooth.h:276:17: error: format '%p' expects a matching 'void *' argument [-Werror=format=] 276 | BT_WARN("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__) | ^~~~~~ include/net/bluetooth/bluetooth.h:262:41: note: in definition of macro 'BT_WARN' 262 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__) | ^~~ net/bluetooth/mgmt.c:2858:25: note: in expansion of macro 'bt_dev_warn' 2858 | bt_dev_warn(hdev, | ^~~~~~~~~~~ cc1: all warnings being treated as errors Caused by commit c858dc985d70 ("Bluetooth: MGMT: Ignore keys being loaded with invalid type") I have used the bluetooth tree from next-20230829 for today. -- Cheers, Stephen Rothwell
Attachment:
pgp3Xcr0o_elU.pgp
Description: OpenPGP digital signature