diff mbox series

[net-next] tsnep: Fix s390 devm_ioremap_resource warning

Message ID 20211216200154.1520-1-gerhard@engleder-embedded.com (mailing list archive)
State Accepted
Commit 00315e1627583c6ed5381bccf55c725aa4f45290
Delegated to: Netdev Maintainers
Headers show
Series [net-next] tsnep: Fix s390 devm_ioremap_resource warning | expand

Checks

Context Check Description
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix success Link
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers success CCed 4 of 4 maintainers
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Gerhard Engleder Dec. 16, 2021, 8:01 p.m. UTC
From: Gerhard Engleder <gerhard@engleder-embedded.com>

The following warning is fixed with additional config dependencies:

s390-linux-ld: drivers/net/ethernet/engleder/tsnep_main.o: in function `tsnep_probe':
tsnep_main.c:(.text+0x1de6): undefined reference to `devm_ioremap_resource'

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
---
 drivers/net/ethernet/engleder/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 18, 2021, 3:30 a.m. UTC | #1
Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 16 Dec 2021 21:01:54 +0100 you wrote:
> From: Gerhard Engleder <gerhard@engleder-embedded.com>
> 
> The following warning is fixed with additional config dependencies:
> 
> s390-linux-ld: drivers/net/ethernet/engleder/tsnep_main.o: in function `tsnep_probe':
> tsnep_main.c:(.text+0x1de6): undefined reference to `devm_ioremap_resource'
> 
> [...]

Here is the summary with links:
  - [net-next] tsnep: Fix s390 devm_ioremap_resource warning
    https://git.kernel.org/netdev/net-next/c/00315e162758

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/engleder/Kconfig b/drivers/net/ethernet/engleder/Kconfig
index 614dcc65c634..f4e2b1102d8f 100644
--- a/drivers/net/ethernet/engleder/Kconfig
+++ b/drivers/net/ethernet/engleder/Kconfig
@@ -18,6 +18,7 @@  if NET_VENDOR_ENGLEDER
 
 config TSNEP
 	tristate "TSN endpoint support"
+	depends on HAS_IOMEM && HAS_DMA
 	depends on PTP_1588_CLOCK_OPTIONAL
 	select PHYLIB
 	help