# Re: \[PATCH net-next v4 12/19\] net: fcoe: use \_\_ethtool\_get\_ksettings

- From: kbuild test robot \<hidden\>
- Date: 2015-12-09 19:19:06 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2015/12/4638800
- Thread: https://ratatoskr.run/netdev/2015/12/4638748/t.md

```text
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
```

## Attachments

- [.config.gz](https://ratatoskr.run/linux-api/2015/12/4638800/attachment/0) (application/octet-stream, 23401 bytes)
