[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190806.141133.1365654857955536268.davem@davemloft.net>
Date: Tue, 06 Aug 2019 14:11:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: natechancellor@...il.com
Cc: andrew@...n.ch, broonie@...nel.org, devel@...verdev.osuosl.org,
f.fainelli@...il.com, gregkh@...uxfoundation.org,
hkallweit1@...il.com, kernel-build-reports@...ts.linaro.org,
linux-arm-kernel@...ts.infradead.org, linux-next@...r.kernel.org,
lkp@...el.com, netdev@...r.kernel.org, rdunlap@...radead.org,
willy@...radead.org
Subject: Re: [PATCH v2] net: mdio-octeon: Fix Kconfig warnings and build
errors
From: Nathan Chancellor <natechancellor@...il.com>
Date: Fri, 2 Aug 2019 23:01:56 -0700
> After commit 171a9bae68c7 ("staging/octeon: Allow test build on
> !MIPS"), the following combination of configs cause a few Kconfig
> warnings and build errors (distilled from arm allyesconfig and Randy's
> randconfig builds):
>
> CONFIG_NETDEVICES=y
> CONFIG_STAGING=y
> CONFIG_COMPILE_TEST=y
>
> and CONFIG_OCTEON_ETHERNET as either a module or built-in.
>
> WARNING: unmet direct dependencies detected for MDIO_OCTEON
> Depends on [n]: NETDEVICES [=y] && MDIO_DEVICE [=y] && MDIO_BUS [=y]
> && 64BIT [=n] && HAS_IOMEM [=y] && OF_MDIO [=n]
> Selected by [y]:
> - OCTEON_ETHERNET [=y] && STAGING [=y] && (CAVIUM_OCTEON_SOC ||
> COMPILE_TEST [=y]) && NETDEVICES [=y]
>
> In file included from ../drivers/net/phy/mdio-octeon.c:14:
> ../drivers/net/phy/mdio-cavium.h:111:36: error: implicit declaration of
> function ‘writeq’; did you mean ‘writel’?
> [-Werror=implicit-function-declaration]
> 111 | #define oct_mdio_writeq(val, addr) writeq(val, (void *)addr)
> | ^~~~~~
>
> CONFIG_64BIT is not strictly necessary if the proper readq/writeq
> definitions are included from io-64-nonatomic-lo-hi.h.
>
> CONFIG_OF_MDIO is not needed when CONFIG_COMPILE_TEST is enabled because
> of commit f9dc9ac51610 ("of/mdio: Add dummy functions in of_mdio.h.").
>
> Fixes: 171a9bae68c7 ("staging/octeon: Allow test build on !MIPS")
> Reported-by: kbuild test robot <lkp@...el.com>
> Reported-by: Mark Brown <broonie@...nel.org>
> Reported-by: Randy Dunlap <rdunlap@...radead.org>
> Signed-off-by: Nathan Chancellor <natechancellor@...il.com>
Applied to net-next.
Please make it clear what tree your changes are targetting in the future,
thank you.
Powered by blists - more mailing lists