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>] [day] [month] [year] [list]
Message-ID: <201707112019.7mwywocu%fengguang.wu@intel.com>
Date:   Tue, 11 Jul 2017 20:58:22 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Heikki Krogerus <heikki.krogerus@...ux.intel.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Guenter Roeck <linux@...ck-us.net>
Subject: drivers/usb/typec/ucsi/ucsi.h:331:59: warning: 'struct device'
 declared inside parameter list

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   548aa0e3c516d906dae5edb1fc9a1ad2e490120a
commit: c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f usb: typec: Add support for UCSI interface
date:   2 weeks ago
config: x86_64-randconfig-in0-07111558 (attached as .config)
compiler: gcc-4.6 (Debian 4.6.4-7) 4.6.4
reproduce:
        git checkout c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from drivers/usb/typec/ucsi/trace.h:9:0,
                    from drivers/usb/typec/ucsi/trace.c:2:
>> drivers/usb/typec/ucsi/ucsi.h:331:59: warning: 'struct device' declared inside parameter list [enabled by default]
>> drivers/usb/typec/ucsi/ucsi.h:331:59: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

vim +331 drivers/usb/typec/ucsi/ucsi.h

   330	
 > 331	struct ucsi *ucsi_register_ppm(struct device *dev, struct ucsi_ppm *ppm);
   332	void ucsi_unregister_ppm(struct ucsi *ucsi);
   333	void ucsi_notify(struct ucsi *ucsi);
   334	

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ