Re: [PATCH] [v5]Add support for LE ping feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi SpoorthiX,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on bluetooth-next/master]
[also build test ERROR on v5.1-rc6 next-20190424]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/SpoorthiX-K/Add-support-for-LE-ping-feature/20190425-184628
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
config: i386-randconfig-x074-201916 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   net/bluetooth/hci_event.c: In function 'hci_cc_write_auth_payload_timeout':
>> net/bluetooth/hci_event.c:595:11: error: 'HCI_CONN_AUTH_PAYLOAD_TIMEOUT' undeclared (first use in this function); did you mean 'HCI_CONN_AUTH_FAILURE'?
      set_bit(HCI_CONN_AUTH_PAYLOAD_TIMEOUT, &conn->flags);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              HCI_CONN_AUTH_FAILURE
   net/bluetooth/hci_event.c:595:11: note: each undeclared identifier is reported only once for each function it appears in
   net/bluetooth/hci_event.c: In function 'hci_encrypt_change_evt':
>> net/bluetooth/hci_event.c:3005:54: error: called object is not a function or function pointer
         lmp_ping_capable(hdev) && (hdev->le_features[0] & HCI_LE_PING)
                                   ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~

vim +595 net/bluetooth/hci_event.c

   581	
   582	static void hci_cc_write_auth_payload_timeout(struct hci_dev *hdev,
   583							struct sk_buff *skb)
   584	{
   585		struct hci_rp_write_auth_payload_to *rp = (void *)skb->data;
   586		struct hci_conn *conn;
   587	
   588		BT_DBG("%s status 0x%2.2x", hdev->name, rp->status);
   589		if (rp->status)
   590			return;
   591		hci_dev_lock(hdev);
   592	
   593		conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
   594		if (conn)
 > 595			set_bit(HCI_CONN_AUTH_PAYLOAD_TIMEOUT, &conn->flags);
   596	
   597		hci_dev_unlock(hdev);
   598	}
   599	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux