ERROR: modpost: ".__warn_printk" undefined!

From: kernel test robot
Date: Wed Dec 30 2020 - 01:12:29 EST


Hi Christoph,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 139711f033f636cc78b6aaf7363252241b9698ef
commit: a7b75c5a8c41445f33efb663887ff5f5c3b4454b net: pass a sockptr_t into ->setsockopt
date: 5 months ago
config: powerpc-randconfig-r034-20201225 (attached as .config)
compiler: powerpc64-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=a7b75c5a8c41445f33efb663887ff5f5c3b4454b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a7b75c5a8c41445f33efb663887ff5f5c3b4454b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc

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

All errors (new ones prefixed by >>, old ones prefixed by <<):

ERROR: modpost: ".ktime_get_with_offset" [net/nfc/nfc.ko] undefined!
ERROR: modpost: ".sock_alloc_send_skb" [net/nfc/nfc.ko] undefined!
ERROR: modpost: ".skb_recv_datagram" [net/nfc/nfc.ko] undefined!
ERROR: modpost: ".skb_queue_head" [net/nfc/nfc.ko] undefined!
ERROR: modpost: "._copy_from_user" [net/nfc/nfc.ko] undefined!
ERROR: modpost: "._raw_read_lock" [net/nfc/nfc.ko] undefined!
ERROR: modpost: ".request_key_tag" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".strlen" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".key_put" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".user_read" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".up_read" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".revert_creds" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".kstrtoull" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".key_revoke" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".__kmalloc" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".down_read" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".key_invalidate" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".seq_puts" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".prepare_kernel_cred" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".strcasecmp" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".seq_printf" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".register_key_type" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".key_validate" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".memcpy" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".strncasecmp" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".__put_cred" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".memchr" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".__invalid_creds" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".unregister_key_type" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".kmemdup_nul" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".keyring_alloc" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".override_creds" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".creds_are_invalid" [net/dns_resolver/dns_resolver.ko] undefined!
ERROR: modpost: ".dev_remove_pack" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".unregister_netdevice_notifier" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".register_netdevice_notifier" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".strlcpy" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".dev_add_pack" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".caif_enroll_dev" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".snprintf" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".kmem_cache_alloc" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".__module_get" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".module_put" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".strcmp" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".cfpkt_extr_head" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".cfpkt_add_head" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".memset" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".kfree_skb" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".cfpkt_info" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".cfpkt_tonative" [net/caif/caif_usb.ko] undefined!
ERROR: modpost: ".sock_unregister" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".sock_register" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".skb_pull" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".skb_queue_head" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: "._copy_to_iter" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".mutex_unlock" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".skb_dequeue" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".mutex_lock" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".send_sig" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: "._copy_from_iter_full" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".skb_put" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".sock_alloc_send_skb" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".memcpy" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: "._copy_from_user" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".refcount_warn_saturate" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".sk_free" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: "._raw_write_unlock_bh" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: "._raw_write_lock_bh" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".__wake_up" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".debugfs_remove" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: "._raw_spin_unlock_bh" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: "._raw_spin_lock_bh" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".prepare_to_wait" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".cfpkt_set_prio" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".cfpkt_fromnative" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".finish_wait" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".schedule_timeout" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".prepare_to_wait_event" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".init_wait_entry" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".__might_sleep" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".__rcu_read_unlock" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".dev_get_by_index_rcu" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".__rcu_read_lock" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".caif_connect_client" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".caif_disconnect_client" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".release_sock" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".__mutex_init" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".sock_init_data" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".lock_sock_nested" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".sk_alloc" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".skb_free_datagram" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".skb_copy_datagram_iter" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".skb_recv_datagram" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: "._raw_spin_unlock_irqrestore" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: "._raw_spin_lock_irqsave" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".__sk_mem_schedule" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".sk_filter_trim_cap" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".net_ratelimit" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".kfree_skb" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".cfpkt_tonative" [net/caif/caif_socket.ko] undefined!
>> ERROR: modpost: ".__warn_printk" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".caif_free_client" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".sk_stream_kill_queues" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".caif_client_register_refcnt" [net/caif/caif_socket.ko] undefined!
ERROR: modpost: ".unregister_netdevice_queue" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".rtnl_link_unregister" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".rtnl_link_register" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".netif_rx_ni" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".netif_rx" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".skb_copy_bits" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".cfpkt_tonative" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".strncpy" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".finish_wait" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".schedule_timeout" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".prepare_to_wait_event" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".init_wait_entry" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".dev_set_mtu" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".__dev_get_by_index" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".caif_connect_client" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".__might_sleep" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".caif_disconnect_client" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".cfpkt_fromnative" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".kfree_skb" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".caif_free_client" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".__wake_up" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".caif_client_register_refcnt" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".netif_tx_wake_queue" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".queue_work_on" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".__local_bh_enable_ip" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: "._raw_spin_unlock" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: "._raw_spin_lock" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".rtnl_unlock" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".dev_close" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".rtnl_lock" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".arch_local_irq_restore" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".__init_waitqueue_head" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".register_netdevice" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".netdev_state_change" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".__warn_printk" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".rtnl_is_locked" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".nla_put" [net/caif/chnl_net.ko] undefined!
ERROR: modpost: ".register_netdevice_notifier" [net/caif/caif.ko] undefined!
ERROR: modpost: ".synchronize_rcu" [net/caif/caif.ko] undefined!
ERROR: modpost: ".snprintf" [net/caif/caif.ko] undefined!
ERROR: modpost: ".register_pernet_subsys" [net/caif/caif.ko] undefined!
ERROR: modpost: ".__mutex_init" [net/caif/caif.ko] undefined!
ERROR: modpost: ".strlen" [net/caif/caif.ko] undefined!
ERROR: modpost: ".free_percpu" [net/caif/caif.ko] undefined!
ERROR: modpost: ".__rcu_read_lock" [net/caif/caif.ko] undefined!
ERROR: modpost: ".unregister_netdevice_notifier" [net/caif/caif.ko] undefined!
ERROR: modpost: ".kfree_skb" [net/caif/caif.ko] undefined!
ERROR: modpost: ".__alloc_percpu" [net/caif/caif.ko] undefined!
ERROR: modpost: ".memcmp" [net/caif/caif.ko] undefined!
ERROR: modpost: "._raw_spin_lock_bh" [net/caif/caif.ko] undefined!
ERROR: modpost: ".__might_sleep" [net/caif/caif.ko] undefined!
ERROR: modpost: ".skb_trim" [net/caif/caif.ko] undefined!
ERROR: modpost: ".skb_push" [net/caif/caif.ko] undefined!
ERROR: modpost: ".mutex_lock" [net/caif/caif.ko] undefined!
ERROR: modpost: ".unregister_pernet_subsys" [net/caif/caif.ko] undefined!
ERROR: modpost: ".skb_put" [net/caif/caif.ko] undefined!
ERROR: modpost: ".arch_local_irq_restore" [net/caif/caif.ko] undefined!
ERROR: modpost: ".strlcpy" [net/caif/caif.ko] undefined!
ERROR: modpost: "._raw_spin_lock" [net/caif/caif.ko] undefined!
ERROR: modpost: ".__alloc_skb" [net/caif/caif.ko] undefined!
ERROR: modpost: ".__raw_spin_lock_init" [net/caif/caif.ko] undefined!
ERROR: modpost: ".dev_remove_pack" [net/caif/caif.ko] undefined!
ERROR: modpost: ".rtnl_lock" [net/caif/caif.ko] undefined!
ERROR: modpost: ".skb_pull" [net/caif/caif.ko] undefined!
ERROR: modpost: "._raw_spin_unlock" [net/caif/caif.ko] undefined!
ERROR: modpost: ".__local_bh_enable_ip" [net/caif/caif.ko] undefined!
ERROR: modpost: ".memcpy" [net/caif/caif.ko] undefined!
ERROR: modpost: ".memset" [net/caif/caif.ko] undefined!
ERROR: modpost: ".kmem_cache_alloc" [net/caif/caif.ko] undefined!
ERROR: modpost: ".pskb_put" [net/caif/caif.ko] undefined!
ERROR: modpost: "._raw_spin_unlock_bh" [net/caif/caif.ko] undefined!
ERROR: modpost: ".__rcu_read_unlock" [net/caif/caif.ko] undefined!
ERROR: modpost: ".skb_cow_data" [net/caif/caif.ko] undefined!
ERROR: modpost: ".__pskb_pull_tail" [net/caif/caif.ko] undefined!
ERROR: modpost: ".msleep" [net/caif/caif.ko] undefined!
ERROR: modpost: ".mutex_unlock" [net/caif/caif.ko] undefined!
ERROR: modpost: ".strcmp" [net/caif/caif.ko] undefined!
ERROR: modpost: ".___pskb_trim" [net/caif/caif.ko] undefined!
ERROR: modpost: ".dev_add_pack" [net/caif/caif.ko] undefined!
ERROR: modpost: ".rtnl_unlock" [net/caif/caif.ko] undefined!
ERROR: modpost: ".dst_discard_out" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".skb_queue_purge" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".skb_clone" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".neigh_table_clear" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".register_netdevice_notifier" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".__warn_printk" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".kmalloc_order" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".panic" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".dst_dev_put" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".__neigh_create" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".__nlmsg_put" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".net_ratelimit" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".__dev_get_by_index" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".consume_skb" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".rtnetlink_put_metrics" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".rtnl_register_module" [net/decnet/decnet.ko] undefined!
ERROR: modpost: ".mod_timer" [net/decnet/decnet.ko] undefined!

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip