Re: [PATCH net-next v4 12/19] net: fcoe: use __ethtool_get_ksettings

From: kbuild test robot
Date: Wed Dec 09 2015 - 14:19:10 EST


Hi David,

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

url: https://github.com/0day-ci/linux/commits/David-Decotigny/RFC-new-ETHTOOL_GSETTINGS-SSETTINGS-API/20151210-022123
config: i386-randconfig-b0-12100240 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/scsi/fcoe/fcoe_transport.c: In function 'fcoe_link_speed_update':
>> drivers/scsi/fcoe/fcoe_transport.c:104:32: error: request for member 'mask' in something not a structure or union
if (ecmd.link_modes.supported.mask[0] & (
^
drivers/scsi/fcoe/fcoe_transport.c:110:32: error: request for member 'mask' in something not a structure or union
if (ecmd.link_modes.supported.mask[0] & (
^
drivers/scsi/fcoe/fcoe_transport.c:117:32: error: request for member 'mask' in something not a structure or union
if (ecmd.link_modes.supported.mask[0] & (
^
drivers/scsi/fcoe/fcoe_transport.c:122:32: error: request for member 'mask' in something not a structure or union
if (ecmd.link_modes.supported.mask[0] & (
^

vim +/mask +104 drivers/scsi/fcoe/fcoe_transport.c

98 if (!__ethtool_get_ksettings(netdev, &ecmd)) {
99 lport->link_supported_speeds &= ~(FC_PORTSPEED_1GBIT |
100 FC_PORTSPEED_10GBIT |
101 FC_PORTSPEED_20GBIT |
102 FC_PORTSPEED_40GBIT);
103
> 104 if (ecmd.link_modes.supported.mask[0] & (
105 SUPPORTED_1000baseT_Half |
106 SUPPORTED_1000baseT_Full |
107 SUPPORTED_1000baseKX_Full))

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

Attachment: .config.gz
Description: Binary data