mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: build failures after merge of the bluetooth tree
@ 2025-03-07  0:50 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2025-03-07  0:50 UTC (permalink / raw)
  To: Marcel Holtmann, Johan Hedberg
  Cc: Johan Korsnes, Kristian Krohn, Loic Poulain,
	Luiz Augusto von Dentz, Neeraj Sanjay Kale,
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 2308 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-07  0:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-07  0:50 linux-next: build failures after merge of the bluetooth tree Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®