[Intel-wired-lan] [PATCH] ixgbe: Add register wait for slow links
Rustad, Mark D
mark.d.rustad at intel.com
Thu Apr 7 18:05:27 UTC 2016
lkp <lkp at intel.com> wrote:
> Hi Mark,
>
> [auto build test ERROR on net-next/master]
> [also build test ERROR on v4.6-rc2 next-20160407]
> [if your patch is applied to the wrong git tree, please drop us a note to
> help improving the system]
This particular patch needed to go on top of Jeff Kirsher's dev-queue branch.
> url:
> https://github.com/0day-ci/linux/commits/Mark-D-Rustad/ixgbe-Add-register-wait-for-slow-links/20160408-014717
> config: x86_64-randconfig-x010-201614 (attached as .config)
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All errors (new ones prefixed by >>):
>
> In file included from include/uapi/linux/stddef.h:1:0,
> from include/linux/stddef.h:4,
> from include/uapi/linux/posix_types.h:4,
> from include/uapi/linux/types.h:13,
> from include/linux/types.h:5,
> from drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:29:
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c: In function 'ixgbe_read_reg':
>>> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:367:8: error:
>>> 'IXGBE_NW_MNG_IF_SEL_ENABLE_10_100M' undeclared (first use in this
>>> function)
> IXGBE_NW_MNG_IF_SEL_ENABLE_10_100M)) {
> ^
> include/linux/compiler.h:170:42: note: in definition of macro 'unlikely'
> # define unlikely(x) __builtin_expect(!!(x), 0)
> ^
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:367:8: note: each undeclared identifier is reported only once for each function it appears in
> IXGBE_NW_MNG_IF_SEL_ENABLE_10_100M)) {
> ^
> include/linux/compiler.h:170:42: note: in definition of macro 'unlikely'
> # define unlikely(x) __builtin_expect(!!(x), 0)
> ^
>
> vim +/IXGBE_NW_MNG_IF_SEL_ENABLE_10_100M +367
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
>
> 361 u8 __iomem *reg_addr = ACCESS_ONCE(hw->hw_addr);
> 362 u32 value;
> 363
> 364 if (ixgbe_removed(reg_addr))
> 365 return IXGBE_FAILED_READ_REG;
> 366 if (unlikely(hw->phy.nw_mng_if_sel &
>> 367 IXGBE_NW_MNG_IF_SEL_ENABLE_10_100M)) {
> 368 struct ixgbe_adapter *adapter;
> 369 int i;
> 370
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology
> Center
> https://lists.01.org/pipermail/kbuild-all Intel
> Corporation
> <.config.gz>
--
Mark Rustad, Networking Division, Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20160407/cf74b5a5/attachment.asc>
More information about the Intel-wired-lan
mailing list