lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 30 Apr 2019 14:27:33 +0800
From:   kbuild test robot <>
To:     Matthias Kaehlcke <>
Cc:, Marcel Holtmann <>,
        Johan Hedberg <>,,,
        Balakrishna Godavarthi <>,
        Harish Bandi <>,
        Rocky Liao <>,
        Matthias Kaehlcke <>
Subject: Re: [PATCH v8] Bluetooth: btqca: inject command complete event
 during fw download

Hi Matthias,

Thank you for the patch! Yet something to improve:

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

base: master
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 8.1.0
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=xtensa 

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

All errors (new ones prefixed by >>):

   drivers/bluetooth/btqca.c: In function 'qca_inject_cmd_complete_event':
>> drivers/bluetooth/btqca.c:286:18: error: 'QCA_HCI_CC_SUCCESS' undeclared (first use in this function); did you mean 'QCA_HCI_CC_OPCODE'?
     skb_put_u8(skb, QCA_HCI_CC_SUCCESS);
   drivers/bluetooth/btqca.c:286:18: note: each undeclared identifier is reported only once for each function it appears in

vim +286 drivers/bluetooth/btqca.c

   268	static int qca_inject_cmd_complete_event(struct hci_dev *hdev)
   269	{
   270		struct hci_event_hdr *hdr;
   271		struct hci_ev_cmd_complete *evt;
   272		struct sk_buff *skb;
   274		skb = bt_skb_alloc(sizeof(*hdr) + sizeof(*evt) + 1, GFP_KERNEL);
   275		if (!skb)
   276			return -ENOMEM;
   278		hdr = skb_put(skb, sizeof(*hdr));
   279		hdr->evt = HCI_EV_CMD_COMPLETE;
   280		hdr->plen = sizeof(*evt) + 1;
   282		evt = skb_put(skb, sizeof(*evt));
   283		evt->ncmd = 1;
   284		evt->opcode = HCI_OP_NOP;
 > 286		skb_put_u8(skb, QCA_HCI_CC_SUCCESS);
   288		hci_skb_pkt_type(skb) = HCI_EVENT_PKT;
   290		return hci_recv_frame(hdev, skb);
   291	}

0-DAY kernel test infrastructure                Open Source Technology Center                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (56157 bytes)

Powered by blists - more mailing lists