lists.openwall.net   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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 16 Sep 2015 03:56:14 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Oliver Neukum <oneukum@...e.com>
Cc:	kbuild-all@...org, netdev@...r.kernel.org
Subject: [net-next:master 6/10] include/linux/usb/cdc.h:47:5: warning:
 'struct usb_interface' declared inside parameter list

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   7b6ee48d3f4d432bfa6c9c9662fbdbd97681240e
commit: c40a2c8817e42273a4627c48c884b805475a733f [6/10] CDC: common parser for extra headers
config: x86_64-acpi-redef (attached as .config)
reproduce:
  git checkout c40a2c8817e42273a4627c48c884b805475a733f
  # save the attached .config to linux build tree
  make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from drivers/usb/gadget/function/u_serial.h:16:0,
                    from drivers/usb/gadget/function/f_acm.c:23:
>> include/linux/usb/cdc.h:47:5: warning: 'struct usb_interface' declared inside parameter list
        int buflen);
        ^
>> include/linux/usb/cdc.h:47:5: warning: its scope is only this definition or declaration, which is probably not what you want

vim +47 include/linux/usb/cdc.h

    31		struct usb_cdc_ether_desc *usb_cdc_ether_desc;
    32		struct usb_cdc_dmm_desc *usb_cdc_dmm_desc;
    33		struct usb_cdc_mdlm_desc *usb_cdc_mdlm_desc;
    34		struct usb_cdc_mdlm_detail_desc *usb_cdc_mdlm_detail_desc;
    35		struct usb_cdc_obex_desc *usb_cdc_obex_desc;
    36		struct usb_cdc_ncm_desc *usb_cdc_ncm_desc;
    37		struct usb_cdc_mbim_desc *usb_cdc_mbim_desc;
    38		struct usb_cdc_mbim_extended_desc *usb_cdc_mbim_extended_desc;
    39	
    40		bool phonet_magic_present;
    41	};
    42	
    43	
    44	int cdc_parse_cdc_header(struct usb_cdc_parsed_header *hdr,
    45					struct usb_interface *intf,
    46					u8 *buffer,
  > 47					int buflen);

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

View attachment ".config" of type "text/plain" (109288 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ