Linux bluetooth development
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: kbuild-all@lists.01.org, linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: Update resolving list when updating whitelist
Date: Wed, 8 Apr 2020 07:50:24 +0800	[thread overview]
Message-ID: <202004080732.E1mRGdZu%lkp@intel.com> (raw)
In-Reply-To: <20200407205611.1002903-1-marcel@holtmann.org>

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

Hi Marcel,

I love your patch! Yet something to improve:

[auto build test ERROR on bluetooth-next/master]
[also build test ERROR on next-20200407]
[cannot apply to v5.6]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Marcel-Holtmann/Bluetooth-Update-resolving-list-when-updating-whitelist/20200408-045729
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=9.3.0 make.cross ARCH=parisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   net/bluetooth/hci_request.c: In function 'del_from_white_list':
>> net/bluetooth/hci_request.c:693:6: error: implicit declaration of function 'use_ll_privacy' [-Werror=implicit-function-declaration]
     693 |  if (use_ll_privacy(req->hdev)) {
         |      ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/use_ll_privacy +693 net/bluetooth/hci_request.c

   680	
   681	static void del_from_white_list(struct hci_request *req, bdaddr_t *bdaddr,
   682					u8 bdaddr_type)
   683	{
   684		struct hci_cp_le_del_from_white_list cp;
   685	
   686		cp.bdaddr_type = bdaddr_type;
   687		bacpy(&cp.bdaddr, bdaddr);
   688	
   689		bt_dev_dbg(req->hdev, "Remove %pMR (0x%x) from whitelist", &cp.bdaddr,
   690			   cp.bdaddr_type);
   691		hci_req_add(req, HCI_OP_LE_DEL_FROM_WHITE_LIST, sizeof(cp), &cp);
   692	
 > 693		if (use_ll_privacy(req->hdev)) {
   694			struct smp_irk *irk;
   695	
   696			irk = hci_find_irk_by_addr(req->hdev, bdaddr, bdaddr_type);
   697			if (irk) {
   698				struct hci_cp_le_del_from_resolv_list cp;
   699	
   700				cp.bdaddr_type = bdaddr_type;
   701				bacpy(&cp.bdaddr, bdaddr);
   702	
   703				hci_req_add(req, HCI_OP_LE_DEL_FROM_RESOLV_LIST,
   704					    sizeof(cp), &cp);
   705			}
   706		}
   707	}
   708	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 60777 bytes --]

  parent reply	other threads:[~2020-04-07 23:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-07 20:56 [PATCH] Bluetooth: Update resolving list when updating whitelist Marcel Holtmann
2020-04-07 23:00 ` Luiz Augusto von Dentz
2020-04-07 23:23   ` Marcel Holtmann
2020-04-07 23:43 ` Abhishek Pandit-Subedi
2020-04-08  6:15   ` Marcel Holtmann
2020-04-07 23:50 ` kbuild test robot [this message]
2020-05-05 13:11 ` Sathish Narasimman
2020-06-03 17:15   ` Sathish Narasimman

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=202004080732.E1mRGdZu%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /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