Thread (22 messages) 22 messages, 2 authors, 2015-12-10

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

From: David Decotigny <hidden>
Date: 2015-12-10 04:01:49
Also in: linux-mips, lkml, netdev

apologies, forgot to make allyesconfig/allmodconfig this time. Fixed
in my local copy. Will be part of v5 after other feedback on this v4.

On Wed, Dec 9, 2015 at 11:18 AM, kbuild test robot [off-list ref] wrote:
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':
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help