Re: [PATCH v2] Bluetooth: Add mising hci_skb_opcode for raw socket commands

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

 



Hi Marcel,

[auto build test ERROR on bluetooth/master]
[also build test ERROR on v4.3 next-20151105]

url:    https://github.com/0day-ci/linux/commits/Marcel-Holtmann/Bluetooth-Add-mising-hci_skb_opcode-for-raw-socket-commands/20151106-144447
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git master
config: x86_64-randconfig-x002-11051802 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   net/bluetooth/hci_sock.c: In function 'hci_sock_sendmsg':
>> net/bluetooth/hci_sock.c:1248:3: error: implicit declaration of function 'hci_skb_opcode' [-Werror=implicit-function-declaration]
      hci_skb_opcode(skb) = opcode;
      ^
>> net/bluetooth/hci_sock.c:1248:23: error: lvalue required as left operand of assignment
      hci_skb_opcode(skb) = opcode;
                          ^
   cc1: some warnings being treated as errors

vim +/hci_skb_opcode +1248 net/bluetooth/hci_sock.c

  1242				goto drop;
  1243			}
  1244	
  1245			/* Since the opcode has already been extracted here, store
  1246			 * a copy of the value for later use by the drivers.
  1247			 */
> 1248			hci_skb_opcode(skb) = opcode;
  1249	
  1250			if (ogf == 0x3f) {
  1251				skb_queue_tail(&hdev->raw_q, skb);

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

Attachment: .config.gz
Description: Binary data


[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