[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201903041607.OpCaPA5R%fengguang.wu@intel.com>
Date: Mon, 4 Mar 2019 16:40:36 +0800
From: kbuild test robot <lkp@...el.com>
To: linmiaohe <linmiaohe@...wei.com>
Cc: kbuild-all@...org, David Ahern <dsa@...ulusnetworks.com>,
Shrijeet Mukherjee <shrijeet@...il.com>,
netdev@...r.kernel.org, Mingfangsen <mingfangsen@...wei.com>
Subject: Re: [PATCH net] net: vrf: fix remove vrf module error when there's
no reference
Hi Miaohe,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net/master]
url: https://github.com/0day-ci/linux/commits/linmiaohe/net-vrf-fix-remove-vrf-module-error-when-there-s-no-reference/20190303-082433
config: x86_64-randconfig-u0-03041013 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
>> WARNING: drivers/net/vrf.o(.exit.text+0x14): Section mismatch in reference from the function cleanup_module() to the variable .init.data:vrf_net_ops
The function __exit cleanup_module() references
a variable __initdata vrf_net_ops.
This is often seen when error handling in the exit function
uses functionality in the init path.
The fix is often to remove the __initdata annotation of
vrf_net_ops so it may be used outside an init section.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (39279 bytes)
Powered by blists - more mailing lists