public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
	linux-bluetooth@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v1 3/5] Bluetooth: ISO: Add support to bind to trigger PAST
Date: Sat, 4 Oct 2025 19:04:06 +0800	[thread overview]
Message-ID: <202510041823.Gu7nrN3J-lkp@intel.com> (raw)
In-Reply-To: <20251003153424.470938-3-luiz.dentz@gmail.com>

Hi Luiz,

kernel test robot noticed the following build warnings:

[auto build test WARNING on bluetooth-next/master]
[also build test WARNING on bluetooth/master linus/master v6.17 next-20251003]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Luiz-Augusto-von-Dentz/Bluetooth-hci_core-Introduce-HCI_CONN_FLAG_PAST/20251003-233649
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
patch link:    https://lore.kernel.org/r/20251003153424.470938-3-luiz.dentz%40gmail.com
patch subject: [PATCH v1 3/5] Bluetooth: ISO: Add support to bind to trigger PAST
config: openrisc-randconfig-r123-20251004 (https://download.01.org/0day-ci/archive/20251004/202510041823.Gu7nrN3J-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251004/202510041823.Gu7nrN3J-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510041823.Gu7nrN3J-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> net/bluetooth/hci_sync.c:7256:19: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le16 [addressable] [usertype] handle @@     got unsigned short [usertype] handle @@
   net/bluetooth/hci_sync.c:7256:19: sparse:     expected restricted __le16 [addressable] [usertype] handle
   net/bluetooth/hci_sync.c:7256:19: sparse:     got unsigned short [usertype] handle
   net/bluetooth/hci_sync.c:7273:19: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le16 [addressable] [usertype] handle @@     got unsigned short [usertype] handle @@
   net/bluetooth/hci_sync.c:7273:19: sparse:     expected restricted __le16 [addressable] [usertype] handle
   net/bluetooth/hci_sync.c:7273:19: sparse:     got unsigned short [usertype] handle

vim +7256 net/bluetooth/hci_sync.c

  7245	
  7246	static int hci_le_past_set_info_sync(struct hci_dev *hdev, void *data)
  7247	{
  7248		struct past_data *past = data;
  7249		struct hci_cp_le_past_set_info cp;
  7250	
  7251		if (!hci_conn_valid(hdev, past->conn) ||
  7252		    !hci_conn_valid(hdev, past->le))
  7253			return -ECANCELED;
  7254	
  7255		memset(&cp, 0, sizeof(cp));
> 7256		cp.handle = past->le->handle;
  7257		cp.adv_handle = past->conn->iso_qos.bcast.bis;
  7258	
  7259		return __hci_cmd_sync_status(hdev, HCI_OP_LE_PAST_SET_INFO,
  7260					     sizeof(cp), &cp, HCI_CMD_TIMEOUT);
  7261	}
  7262	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2025-10-04 11:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-03 15:34 [PATCH v1 1/5] Bluetooth: HCI: Add initial support for PAST Luiz Augusto von Dentz
2025-10-03 15:34 ` [PATCH v1 2/5] Bluetooth: hci_core: Introduce HCI_CONN_FLAG_PAST Luiz Augusto von Dentz
2025-10-03 15:34 ` [PATCH v1 3/5] Bluetooth: ISO: Add support to bind to trigger PAST Luiz Augusto von Dentz
2025-10-03 17:30   ` Pauli Virtanen
2025-10-03 17:37     ` Pauli Virtanen
2025-10-04 11:04   ` kernel test robot [this message]
2025-10-03 15:34 ` [PATCH v1 4/5] Bluetooth: HCI: Always use the identity address when initializing a connection Luiz Augusto von Dentz
2025-10-03 15:34 ` [PATCH v1 5/5] Bluetooth: ISO: Attempt to resolve broadcast address Luiz Augusto von Dentz

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=202510041823.Gu7nrN3J-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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