linux-next: build failures after merge of the bluetooth tree
From: Stephen Rothwell
Date: Thu Mar 06 2025 - 19:50:57 EST
Hi all,
After merging the bluetooth tree, today's linux-next build (x86_64
allmodconfig) failed like this:
In file included from drivers/bluetooth/btnxpuart.c:21:
drivers/bluetooth/btnxpuart.c: In function 'nxp_set_bdaddr':
drivers/bluetooth/btnxpuart.c:1322:36: error: 'skb' undeclared (first use in this function)
1322 | PTR_ERR(skb));
| ^~~
include/net/bluetooth/bluetooth.h:264:52: note: in definition of macro 'BT_ERR'
264 | #define BT_ERR(fmt, ...) bt_err(fmt "\n", ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/bluetooth/btnxpuart.c:1321:17: note: in expansion of macro 'bt_dev_err'
1321 | bt_dev_err(hdev, "Reset before setting local-bd-addr failed (%ld)",
| ^~~~~~~~~~
drivers/bluetooth/btnxpuart.c:1322:36: note: each undeclared identifier is reported only once for each function it appears in
1322 | PTR_ERR(skb));
| ^~~
include/net/bluetooth/bluetooth.h:264:52: note: in definition of macro 'BT_ERR'
264 | #define BT_ERR(fmt, ...) bt_err(fmt "\n", ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/bluetooth/btnxpuart.c:1321:17: note: in expansion of macro 'bt_dev_err'
1321 | bt_dev_err(hdev, "Reset before setting local-bd-addr failed (%ld)",
| ^~~~~~~~~~
drivers/bluetooth/btnxpuart.c: In function 'nxp_serdev_probe':
drivers/bluetooth/btnxpuart.c:1724:15: error: 'struct hci_dev' has no member named 'cmd_timeout'; did you mean 'cmd_timer'?
1724 | hdev->cmd_timeout = nxp_cmd_timeout;
| ^~~~~~~~~~~
| cmd_timer
drivers/bluetooth/btnxpuart.c:1673:18: error: unused variable 'ba' [-Werror=unused-variable]
1673 | bdaddr_t ba = {0};
| ^~
cc1: all warnings being treated as errors
Caused by commits
b21ae0e8b437 ("Bluetooth: btnxpuart: Add support for HCI coredump feature")
228c506481ea ("Bluetooth: btnxpuart: Add support to set BD address")
I have used the bluetooth tree from next-20250306 for today.
--
Cheers,
Stephen Rothwell
Attachment:
pgpK64WLlVIz6.pgp
Description: OpenPGP digital signature