Hi Jan,
I love your patch! Perhaps something to improve:
[auto build test WARNING on ext4/dev]
[also build test WARNING on ext3/for_next linus/master v5.13-rc6 next-20210616]
[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/Jan-Kara/ext4-Speedup-orphan-fil...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
config: i386-randconfig-s002-20210617 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
#
https://github.com/0day-ci/linux/commit/6b60fad4c555893cdd03e91dbfe31aa6f...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Jan-Kara/ext4-Speedup-orphan-file-handling/20210617-034806
git checkout 6b60fad4c555893cdd03e91dbfe31aa6fa9c25e7
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
> fs/ext4/orphan.c:195:64: sparse: sparse: incorrect type in
argument 2 (different address spaces) @@ expected char *qf_name @@ got char
[noderef] __rcu * @@
fs/ext4/orphan.c:195:64: sparse: expected char *qf_name
fs/ext4/orphan.c:195:64: sparse: got char [noderef] __rcu *
vim +195 fs/ext4/orphan.c
192
193 static int ext4_quota_on_mount(struct super_block *sb, int type)
194 {
195 return dquot_quota_on_mount(sb,
EXT4_SB(sb)->s_qf_names[type],
196 EXT4_SB(sb)->s_jquota_fmt, type);
197 }
198
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org