mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Marcel Holtmann <marcel@holtmann.org>,
	Johan Hedberg <johan.hedberg@gmail.com>
Cc: Johan Korsnes <johan.korsnes@remarkable.no>,
	Kristian Krohn <kristian.krohn@remarkable.no>,
	Loic Poulain <loic.poulain@linaro.org>,
	Luiz Augusto von Dentz <luiz.von.dentz@intel.com>,
	Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build failures after merge of the bluetooth tree
Date: Fri, 7 Mar 2025 11:50:27 +1100	[thread overview]
Message-ID: <20250307115027.2549e196@canb.auug.org.au> (raw)

[-- 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 --]

                 reply	other threads:[~2025-03-07  0:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250307115027.2549e196@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=johan.hedberg@gmail.com \
    --cc=johan.korsnes@remarkable.no \
    --cc=kristian.krohn@remarkable.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=loic.poulain@linaro.org \
    --cc=luiz.von.dentz@intel.com \
    --cc=marcel@holtmann.org \
    --cc=neeraj.sanjaykale@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®