lkml.org 
[lkml]   [2021]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectbcmgenet.c:undefined reference to `netif_carrier_on'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0e9bcda5d286f4a26a5407bb38f55c55b453ecfb
commit: 47ff6154fd234eb9efc353f8b71bcc669ddbde93 net: bcmgenet: Allow changing carrier from user-space
date: 7 months ago
config: powerpc64-randconfig-r033-20210130 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=47ff6154fd234eb9efc353f8b71bcc669ddbde93
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 47ff6154fd234eb9efc353f8b71bcc669ddbde93
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

powerpc-linux-ld: drivers/net/ethernet/8390/ne2k-pci.o: in function `ne2k_pci_reset_8390':
ne2k-pci.c:(.text+0x300): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/8390/ne2k-pci.o: in function `ne2k_pci_block_output':
ne2k-pci.c:(.text+0x3fc): undefined reference to `netdev_err'
powerpc-linux-ld: ne2k-pci.c:(.text+0x51c): undefined reference to `netdev_warn'
powerpc-linux-ld: drivers/net/ethernet/8390/ne2k-pci.o: in function `ne2k_pci_block_input':
ne2k-pci.c:(.text+0x688): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/8390/ne2k-pci.o: in function `ne2k_pci_init_one':
ne2k-pci.c:(.text+0xcfc): undefined reference to `free_netdev'
powerpc-linux-ld: ne2k-pci.c:(.text+0xdac): undefined reference to `register_netdev'
powerpc-linux-ld: ne2k-pci.c:(.text+0xe00): undefined reference to `netdev_info'
powerpc-linux-ld: drivers/net/ethernet/8390/ne2k-pci.o: in function `ne2k_pci_get_8390_hdr':
ne2k-pci.c:(.text+0xfec): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/8390/ne2k-pci.o:(.rodata+0xc8): undefined reference to `eth_mac_addr'
powerpc-linux-ld: drivers/net/ethernet/8390/ne2k-pci.o:(.rodata+0xcc): undefined reference to `eth_validate_addr'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `__alloc_ei_netdev':
(.text+0x150): undefined reference to `alloc_netdev_mqs'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `ethdev_setup':
8390.c:(.text+0x214): undefined reference to `ether_setup'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `NS8390_trigger_send':
8390.c:(.text+0x314): undefined reference to `netdev_warn'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `ei_tx_intr':
8390.c:(.text+0x50c): undefined reference to `netif_tx_wake_queue'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `ei_receive':
8390.c:(.text+0x7f4): undefined reference to `netdev_err'
powerpc-linux-ld: 8390.c:(.text+0x94c): undefined reference to `netdev_notice'
powerpc-linux-ld: 8390.c:(.text+0x99c): undefined reference to `__netdev_alloc_skb'
powerpc-linux-ld: 8390.c:(.text+0x9ec): undefined reference to `netdev_err'
powerpc-linux-ld: 8390.c:(.text+0xa6c): undefined reference to `skb_put'
powerpc-linux-ld: 8390.c:(.text+0xa98): undefined reference to `eth_type_trans'
powerpc-linux-ld: 8390.c:(.text+0xab0): undefined reference to `netif_rx'
powerpc-linux-ld: 8390.c:(.text+0xb1c): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `__ei_interrupt.isra.0':
8390.c:(.text+0xc00): undefined reference to `netdev_err'
powerpc-linux-ld: 8390.c:(.text+0xcd0): undefined reference to `netdev_warn'
powerpc-linux-ld: 8390.c:(.text+0x1098): undefined reference to `netdev_warn'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `__ei_start_xmit':
8390.c:(.text+0x1380): undefined reference to `skb_tstamp_tx'
powerpc-linux-ld: 8390.c:(.text+0x138c): undefined reference to `__dev_kfree_skb_any'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `__NS8390_init':
8390.c:(.text+0x1814): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `ei_tx_timeout':
(.text+0x1a18): undefined reference to `dev_trans_start'
powerpc-linux-ld: (.text+0x1ae8): undefined reference to `netif_tx_wake_queue'
powerpc-linux-ld: drivers/net/ethernet/8390/8390.o: in function `__crc_NS8390_init':
(.rodata+0x4c): undefined reference to `eth_mac_addr'
powerpc-linux-ld: (.rodata+0x50): undefined reference to `eth_validate_addr'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_suspend':
amd8111e.c:(.text+0x1174): undefined reference to `netif_device_detach'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_remove_one':
amd8111e.c:(.text+0x12fc): undefined reference to `unregister_netdev'
powerpc-linux-ld: amd8111e.c:(.text+0x1304): undefined reference to `free_netdev'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_probe_one':
amd8111e.c:(.text+0x1968): undefined reference to `alloc_etherdev_mqs'
powerpc-linux-ld: amd8111e.c:(.text+0x19f8): undefined reference to `free_netdev'
powerpc-linux-ld: amd8111e.c:(.text+0x1b08): undefined reference to `netif_napi_add'
powerpc-linux-ld: amd8111e.c:(.text+0x1c04): undefined reference to `register_netdev'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_free_skbs':
amd8111e.c:(.text+0x1ec4): undefined reference to `consume_skb'
powerpc-linux-ld: amd8111e.c:(.text+0x1f30): undefined reference to `consume_skb'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_interrupt':
amd8111e.c:(.text+0x2090): undefined reference to `napi_schedule_prep'
powerpc-linux-ld: amd8111e.c:(.text+0x20bc): undefined reference to `__napi_schedule'
powerpc-linux-ld: amd8111e.c:(.text+0x2214): undefined reference to `__dev_kfree_skb_irq'
powerpc-linux-ld: amd8111e.c:(.text+0x227c): undefined reference to `netif_tx_wake_queue'
powerpc-linux-ld: amd8111e.c:(.text+0x2354): undefined reference to `netdev_info'
powerpc-linux-ld: amd8111e.c:(.text+0x235c): undefined reference to `netif_carrier_off'
powerpc-linux-ld: amd8111e.c:(.text+0x23d8): undefined reference to `netdev_info'
powerpc-linux-ld: amd8111e.c:(.text+0x23e0): undefined reference to `netif_carrier_on'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_rx_poll':
amd8111e.c:(.text+0x271c): undefined reference to `napi_complete_done'
powerpc-linux-ld: amd8111e.c:(.text+0x2890): undefined reference to `__netdev_alloc_skb'
powerpc-linux-ld: amd8111e.c:(.text+0x291c): undefined reference to `skb_put'
powerpc-linux-ld: amd8111e.c:(.text+0x2950): undefined reference to `eth_type_trans'
powerpc-linux-ld: amd8111e.c:(.text+0x2960): undefined reference to `napi_gro_receive'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_restart':
amd8111e.c:(.text+0x2b90): undefined reference to `__netdev_alloc_skb'
powerpc-linux-ld: amd8111e.c:(.text+0x2fa0): undefined reference to `netdev_info'
powerpc-linux-ld: amd8111e.c:(.text+0x2fe4): undefined reference to `consume_skb'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_resume':
amd8111e.c:(.text+0x30a0): undefined reference to `netif_device_attach'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_open':
amd8111e.c:(.text+0x3494): undefined reference to `napi_disable'
powerpc-linux-ld: amd8111e.c:(.text+0x3528): undefined reference to `netdev_info'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_close':
amd8111e.c:(.text+0x35a4): undefined reference to `napi_disable'
powerpc-linux-ld: amd8111e.c:(.text+0x35e8): undefined reference to `netif_carrier_off'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o: in function `amd8111e_tx_timeout':
amd8111e.c:(.text.unlikely+0x2c): undefined reference to `netdev_err'
powerpc-linux-ld: amd8111e.c:(.text.unlikely+0x84): undefined reference to `netif_tx_wake_queue'
powerpc-linux-ld: drivers/net/ethernet/amd/amd8111e.o:(.rodata+0x28): undefined reference to `eth_validate_addr'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_dma_teardown':
bcmgenet.c:(.text+0x1848): undefined reference to `netdev_warn'
powerpc-linux-ld: bcmgenet.c:(.text+0x18f0): undefined reference to `netdev_warn'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_remove':
bcmgenet.c:(.text+0x19dc): undefined reference to `unregister_netdev'
powerpc-linux-ld: bcmgenet.c:(.text+0x19ec): undefined reference to `free_netdev'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_set_eee':
bcmgenet.c:(.text+0x1b88): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_change_carrier':
>> bcmgenet.c:(.text+0x2208): undefined reference to `netif_carrier_on'
powerpc-linux-ld: bcmgenet.c:(.text+0x222c): undefined reference to `netif_carrier_off'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_init_tx_ring':
bcmgenet.c:(.text+0x2f98): undefined reference to `netif_napi_add'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_free_rx_buffers':
bcmgenet.c:(.text+0x304c): undefined reference to `__dev_kfree_skb_any'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_fini_dma':
bcmgenet.c:(.text+0x30a4): undefined reference to `netif_napi_del'
powerpc-linux-ld: bcmgenet.c:(.text+0x30c4): undefined reference to `netif_napi_del'
powerpc-linux-ld: bcmgenet.c:(.text+0x310c): undefined reference to `netif_napi_del'
powerpc-linux-ld: bcmgenet.c:(.text+0x3120): undefined reference to `netif_napi_del'
powerpc-linux-ld: bcmgenet.c:(.text+0x314c): undefined reference to `consume_skb'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `__bcmgenet_tx_reclaim':
bcmgenet.c:(.text+0x346c): undefined reference to `__dev_kfree_skb_any'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_tx_poll':
bcmgenet.c:(.text+0x355c): undefined reference to `netif_tx_wake_queue'
powerpc-linux-ld: bcmgenet.c:(.text+0x3584): undefined reference to `napi_complete_done'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_isr1':
bcmgenet.c:(.text+0x39b0): undefined reference to `napi_schedule_prep'
powerpc-linux-ld: bcmgenet.c:(.text+0x39f4): undefined reference to `__napi_schedule_irqoff'
powerpc-linux-ld: bcmgenet.c:(.text+0x3a44): undefined reference to `napi_schedule_prep'
powerpc-linux-ld: bcmgenet.c:(.text+0x3a88): undefined reference to `__napi_schedule_irqoff'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_isr0':
bcmgenet.c:(.text+0x3b20): undefined reference to `napi_schedule_prep'
powerpc-linux-ld: bcmgenet.c:(.text+0x3b84): undefined reference to `napi_schedule_prep'
powerpc-linux-ld: bcmgenet.c:(.text+0x3be4): undefined reference to `__napi_schedule_irqoff'
powerpc-linux-ld: bcmgenet.c:(.text+0x3ca8): undefined reference to `__napi_schedule_irqoff'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_probe':
bcmgenet.c:(.text+0x3ff4): undefined reference to `alloc_etherdev_mqs'
powerpc-linux-ld: bcmgenet.c:(.text+0x4068): undefined reference to `free_netdev'
powerpc-linux-ld: bcmgenet.c:(.text+0x41e0): undefined reference to `netdev_boot_setup_check'
powerpc-linux-ld: bcmgenet.c:(.text+0x45dc): undefined reference to `netif_set_real_num_tx_queues'
powerpc-linux-ld: bcmgenet.c:(.text+0x45f0): undefined reference to `netif_set_real_num_rx_queues'
powerpc-linux-ld: bcmgenet.c:(.text+0x461c): undefined reference to `netif_carrier_off'
powerpc-linux-ld: bcmgenet.c:(.text+0x462c): undefined reference to `register_netdev'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_netif_stop':
bcmgenet.c:(.text+0x4a64): undefined reference to `napi_disable'
powerpc-linux-ld: bcmgenet.c:(.text+0x4af0): undefined reference to `napi_disable'
powerpc-linux-ld: bcmgenet.c:(.text+0x4b60): undefined reference to `napi_disable'
powerpc-linux-ld: bcmgenet.c:(.text+0x4bb8): undefined reference to `napi_disable'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_suspend':
bcmgenet.c:(.text+0x4c30): undefined reference to `netif_device_detach'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_dump_tx_queue':
bcmgenet.c:(.text+0x4ed8): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_timeout':
bcmgenet.c:(.text+0x5058): undefined reference to `netif_tx_wake_queue'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_rx_refill':
bcmgenet.c:(.text+0x54ac): undefined reference to `__netdev_alloc_skb'
powerpc-linux-ld: bcmgenet.c:(.text+0x5554): undefined reference to `__dev_kfree_skb_any'
powerpc-linux-ld: bcmgenet.c:(.text+0x5598): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x5618): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_desc_rx':
bcmgenet.c:(.text+0x5980): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x5998): undefined reference to `__dev_kfree_skb_any'
powerpc-linux-ld: bcmgenet.c:(.text+0x59b4): undefined reference to `skb_put'
powerpc-linux-ld: bcmgenet.c:(.text+0x59c0): undefined reference to `skb_pull'
powerpc-linux-ld: bcmgenet.c:(.text+0x59fc): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x5ae8): undefined reference to `skb_trim'
powerpc-linux-ld: bcmgenet.c:(.text+0x5af8): undefined reference to `eth_type_trans'
powerpc-linux-ld: bcmgenet.c:(.text+0x5b40): undefined reference to `napi_gro_receive'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_rx_poll':
bcmgenet.c:(.text+0x5bd4): undefined reference to `napi_complete_done'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_init_rx_ring':
bcmgenet.c:(.text+0x5e14): undefined reference to `__dev_kfree_skb_any'
powerpc-linux-ld: bcmgenet.c:(.text+0x5ec0): undefined reference to `netif_napi_add'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_init_dma':
bcmgenet.c:(.text+0x61c0): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_resume':
bcmgenet.c:(.text+0x65b4): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x6680): undefined reference to `netif_device_attach'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_set_rxnfc':
bcmgenet.c:(.text+0x671c): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x677c): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x67b8): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x69b0): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x6ab0): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x6c44): undefined reference to `netdev_warn'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_open':
bcmgenet.c:(.text+0x6e88): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x6f50): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x70bc): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x7104): undefined reference to `netdev_err'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o: in function `bcmgenet_xmit':
bcmgenet.c:(.text+0x7278): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x7310): undefined reference to `skb_realloc_headroom'
powerpc-linux-ld: bcmgenet.c:(.text+0x7330): undefined reference to `__dev_kfree_skb_any'
powerpc-linux-ld: bcmgenet.c:(.text+0x7384): undefined reference to `skb_push'
powerpc-linux-ld: bcmgenet.c:(.text+0x73dc): undefined reference to `__dev_kfree_skb_any'
powerpc-linux-ld: bcmgenet.c:(.text+0x76a8): undefined reference to `skb_tstamp_tx'
powerpc-linux-ld: bcmgenet.c:(.text+0x7712): undefined reference to `softnet_data'
powerpc-linux-ld: bcmgenet.c:(.text+0x7716): undefined reference to `softnet_data'
powerpc-linux-ld: bcmgenet.c:(.text+0x7770): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet.c:(.text+0x778c): undefined reference to `consume_skb'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o:(.rodata+0x1534): undefined reference to `ethtool_op_get_link'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet.o:(.rodata+0x15c0): undefined reference to `ethtool_op_get_ts_info'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmmii.o: in function `bcmgenet_mii_setup':
bcmmii.c:(.text+0x848): undefined reference to `netif_carrier_off'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet_wol.o: in function `bcmgenet_wol_power_down_cfg':
bcmgenet_wol.c:(.text+0x2d4): undefined reference to `netdev_err'
powerpc-linux-ld: bcmgenet_wol.c:(.text+0x628): undefined reference to `netdev_crit'
powerpc-linux-ld: drivers/net/ethernet/broadcom/genet/bcmgenet_wol.o: in function `bcmgenet_wol_power_up_cfg':

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for NETDEVICES
Depends on NET
Selected by
- AKEBONO && PPC_47x
WARNING: unmet direct dependencies detected for ETHERNET
Depends on NETDEVICES && NET
Selected by
- AKEBONO && PPC_47x
WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
Selected by
- PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP
WARNING: unmet direct dependencies detected for NET_DEVLINK
Depends on NET
Selected by
- QED && NETDEVICES && ETHERNET && NET_VENDOR_QLOGIC && PCI
WARNING: unmet direct dependencies detected for GRO_CELLS
Depends on NET
Selected by
- MACSEC && NETDEVICES && NET_CORE
WARNING: unmet direct dependencies detected for FAILOVER
Depends on NET
Selected by
- NET_FAILOVER && NETDEVICES

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-01-30 10:25    [W:0.040 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site