Re: [PATCH v11] mm: slub: move sysfs slab alloc/free interfaces to debugfs

From: kernel test robot
Date: Tue Jun 08 2021 - 03:29:15 EST


Hi Faiyaz,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on v5.13-rc5]
[cannot apply to hnaz-linux-mm/master next-20210607]
[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/Faiyaz-Mohammed/mm-slub-move-sysfs-slab-alloc-free-interfaces-to-debugfs/20210608-093347
base: 614124bea77e452aa6df7a8714e8bc820b489922
config: ia64-randconfig-r032-20210607 (attached as .config)
compiler: ia64-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/bc5e268c4852dc56a0d1c7a8ded8557db36b871b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Faiyaz-Mohammed/mm-slub-move-sysfs-slab-alloc-free-interfaces-to-debugfs/20210608-093347
git checkout bc5e268c4852dc56a0d1c7a8ded8557db36b871b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from mm/slub.c:13:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:127:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
127 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
mm/slub.c: In function 'slab_debug_trace_release':
>> mm/slub.c:5868:24: error: 'seq' undeclared (first use in this function); did you mean 'rseq'?
5868 | struct loc_track *t = seq->private;
| ^~~
| rseq
mm/slub.c:5868:24: note: each undeclared identifier is reported only once for each function it appears in


vim +5868 mm/slub.c

5865
5866 static int slab_debug_trace_release(struct inode *inode, struct file *file)
5867 {
> 5868 struct loc_track *t = seq->private;
5869
5870 free_loc_track(t);
5871 return seq_release_private(inode, file);
5872 }
5873

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip