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

Attachment: .config.gz
Description: application/gzip

Reply via email to