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

From: David Decotigny
Date: Wed Dec 09 2015 - 23:01:52 EST


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 <lkp@xxxxxxxxx> 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':
>>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/