[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202103200234.Bk0IyDCx-lkp@intel.com>
Date: Sat, 20 Mar 2021 02:35:07 +0800
From: kernel test robot <lkp@...el.com>
To: Dan Carpenter <error27@...il.com>,
Namjae Jeon <namjae.jeon@...sung.com>
Cc: kbuild-all@...ts.01.org, Hyunchul Lee <hyc.lee@...il.com>,
Steve French <stfrench@...rosoft.com>,
Ronnie Sahlberg <lsahlber@...hat.com>,
Fredrik Ternerot <fredrikt@...s.com>,
Marios Makassikis <mmakassikis@...ebox.fr>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] cifsd: fix error handling in ksmbd_server_init()
Hi Dan,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on next-20210319]
[cannot apply to linus/master v5.12-rc3 v5.12-rc2 v5.12-rc1 v5.12-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Dan-Carpenter/cifsd-fix-error-handling-in-ksmbd_server_init/20210319-225716
base: f00397ee41c79b6155b9b44abd0055b2c0621349
config: m68k-allyesconfig (attached as .config)
compiler: m68k-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://github.com/0day-ci/linux/commit/cc0b000677e90ef32431e535861911bdcc4670b4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Dan-Carpenter/cifsd-fix-error-handling-in-ksmbd_server_init/20210319-225716
git checkout cc0b000677e90ef32431e535861911bdcc4670b4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux.o(.init.text+0x1c672): Section mismatch in reference from the function ksmbd_server_init() to the function .exit.text:ksmbd_release_inode_hash()
The function __init ksmbd_server_init() references
a function __exit ksmbd_release_inode_hash().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
ksmbd_release_inode_hash() so it may be used outside an exit section.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (60387 bytes)
Powered by blists - more mailing lists