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: <201611212247.CaOsYhWj%fengguang.wu@intel.com>
Date:   Mon, 21 Nov 2016 22:49:33 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Saeed Mahameed <saeedm@...lanox.com>
Cc:     kbuild-all@...org, "David S. Miller" <davem@...emloft.net>,
        netdev@...r.kernel.org, Or Gerlitz <ogerlitz@...lanox.com>,
        Roi Dayan <roid@...lanox.com>,
        Saeed Mahameed <saeedm@...lanox.com>
Subject: Re: [PATCH net-next 1/7] net: Add net-device param to the get
 offloaded stats ndo

Hi Or,

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

url:    https://github.com/0day-ci/linux/commits/Saeed-Mahameed/Mellanox-100G-mlx5-SRIOV-switchdev-update/20161121-211957
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

>> drivers/net/ethernet/mellanox/mlxsw/spectrum.c:1321:27: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .ndo_has_offload_stats = mlxsw_sp_port_has_offload_stats,
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/mellanox/mlxsw/spectrum.c:1321:27: note: (near initialization for 'mlxsw_sp_port_netdev_ops.ndo_has_offload_stats')
   cc1: some warnings being treated as errors

vim +1321 drivers/net/ethernet/mellanox/mlxsw/spectrum.c

56ade8fe Jiri Pirko    2015-10-16  1315  	.ndo_start_xmit		= mlxsw_sp_port_xmit,
763b4b70 Yotam Gigi    2016-07-21  1316  	.ndo_setup_tc           = mlxsw_sp_setup_tc,
c5b9b518 Jiri Pirko    2015-12-03  1317  	.ndo_set_rx_mode	= mlxsw_sp_set_rx_mode,
56ade8fe Jiri Pirko    2015-10-16  1318  	.ndo_set_mac_address	= mlxsw_sp_port_set_mac_address,
56ade8fe Jiri Pirko    2015-10-16  1319  	.ndo_change_mtu		= mlxsw_sp_port_change_mtu,
56ade8fe Jiri Pirko    2015-10-16  1320  	.ndo_get_stats64	= mlxsw_sp_port_get_stats64,
fc1bbb0f Nogah Frankel 2016-09-16 @1321  	.ndo_has_offload_stats	= mlxsw_sp_port_has_offload_stats,
fc1bbb0f Nogah Frankel 2016-09-16  1322  	.ndo_get_offload_stats	= mlxsw_sp_port_get_offload_stats,
56ade8fe Jiri Pirko    2015-10-16  1323  	.ndo_vlan_rx_add_vid	= mlxsw_sp_port_add_vid,
56ade8fe Jiri Pirko    2015-10-16  1324  	.ndo_vlan_rx_kill_vid	= mlxsw_sp_port_kill_vid,

:::::: The code at line 1321 was first introduced by commit
:::::: fc1bbb0f1831cc22326c86fb21d88cca44999b3e mlxsw: spectrum: Implement offload stats ndo and expose HW stats by default

:::::: TO: Nogah Frankel <nogahf@...lanox.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" (45257 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ