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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201706160552.EYIdXcuM%fengguang.wu@intel.com>
Date:   Fri, 16 Jun 2017 05:39:17 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Yuval Mintz <Yuval.Mintz@...ium.com>
Cc:     kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
        linux-rdma@...r.kernel.org,
        Michal Kalderon <Michal.Kalderon@...ium.com>,
        Yuval Mintz <Yuval.Mintz@...ium.com>
Subject: Re: [PATCH net-next 4/7] qed*: Rename qede_roce.[ch]

Hi Michal,

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Yuval-Mintz/qed-RDMA-and-infrastructure-for-iWARP/20170616-043925
config: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

   In file included from drivers/net//ethernet/qlogic/qede/qede.h:43:0,
                    from drivers/net//ethernet/qlogic/qede/qede_ptp.h:38,
                    from drivers/net//ethernet/qlogic/qede/qede_fp.c:43:
>> include/linux/qed/qede_rdma.h:57:12: warning: 'struct pci_dev' declared inside parameter list [enabled by default]
>> include/linux/qed/qede_rdma.h:57:12: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

vim +57 include/linux/qed/qede_rdma.h

cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  41  	QEDE_DOWN,
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  42  	QEDE_CHANGE_ADDR,
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  43  	QEDE_CLOSE
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  44  };
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  45  
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  46  struct qede_roce_event_work {
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  47  	struct list_head list;
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  48  	struct work_struct work;
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  49  	void *ptr;
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  50  	enum qede_roce_event event;
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  51  };
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  52  
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  53  struct qedr_driver {
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  54  	unsigned char name[32];
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  55  
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  56  	struct qedr_dev* (*add)(struct qed_dev *, struct pci_dev *,
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01 @57  				struct net_device *);
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  58  
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  59  	void (*remove)(struct qedr_dev *);
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  60  	void (*notify)(struct qedr_dev *, enum qede_roce_event);
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  61  };
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  62  
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  63  /* APIs for RoCE driver to register callback handlers,
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  64   * which will be invoked when device is added, removed, ifup, ifdown
cee9fbd8 include/linux/qed/qede_roce.h Ram Amrani 2016-10-01  65   */

:::::: The code at line 57 was first introduced by commit
:::::: cee9fbd8e2e9e713cd8bf227c6492fd8854de74b qede: Add qedr framework

:::::: TO: Ram Amrani <Ram.Amrani@...iumnetworks.com>
:::::: CC: David S. Miller <davem@...emloft.net>

---
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" (49072 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ