Re: [PATCH net-next v17 02/25] ovpn: add basic netlink support
From: kernel test robot
Date: Sat Jan 11 2025 - 19:42:36 EST
Hi Antonio,
kernel test robot noticed the following build errors:
[auto build test ERROR on 7b24f164cf005b9649138ef6de94aaac49c9f3d1]
url: https://github.com/intel-lab-lkp/linux/commits/Antonio-Quartulli/net-introduce-OpenVPN-Data-Channel-Offload-ovpn/20250111-064544
base: 7b24f164cf005b9649138ef6de94aaac49c9f3d1
patch link: https://lore.kernel.org/r/20250110-b4-ovpn-v17-2-47b2377e5613%40openvpn.net
patch subject: [PATCH net-next v17 02/25] ovpn: add basic netlink support
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250112/202501120844.1dosuV3x-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250112/202501120844.1dosuV3x-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501120844.1dosuV3x-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/net/ovpn/netlink.c: In function 'ovpn_nl_post_doit':
>> drivers/net/ovpn/netlink.c:85:37: error: invalid initializer
85 | netdevice_tracker tracker = info->user_ptr[1];
| ^~~~
vim +85 drivers/net/ovpn/netlink.c
81
82 void ovpn_nl_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb,
83 struct genl_info *info)
84 {
> 85 netdevice_tracker tracker = info->user_ptr[1];
86 struct ovpn_priv *ovpn = info->user_ptr[0];
87
88 if (ovpn)
89 netdev_put(ovpn->dev, &tracker);
90 }
91
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki