Subject: Re: [PATCH v1 net-next] tun: Ignore tun in netdev_lock_pos().

From: kernel test robot <[email-masked]>
Date: Sun, 29 Mar 2026 06:06:41 +0200

Hi Kuniyuki,

kernel test robot noticed the following build errors:

[auto build test ERROR on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Kuniyuki-Iwashima/tun-Ignore-tun-in-netdev_lock_pos/20260328-220059
base:   net-next/main
patch link:    https://lore.kernel.org/r/20260327213441.3781433-1-kuniyu%40google.com
patch subject: [PATCH v1 net-next] tun: Ignore tun in netdev_lock_pos().
config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260329/[email-masked]/config)
compiler: s390x-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260329/[email-masked]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email-masked]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email-masked]/

All errors (new ones prefixed by >>):

   s390x-linux-gnu-ld: net/core/dev.o: in function `netdev_lock_pos':
   net/core/dev.c:540:(.text+0x86a6): undefined reference to `tun_link_ops'
>> s390x-linux-gnu-ld: net/core/dev.c:540:(.text+0x2b5ac): undefined reference to `tun_link_ops'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki