tree:   https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev-test
head:   e84fd1bdbe05e6b3ebe5766b98b7e4902203e8e1
commit: cb6528654a7fb2a3ffd55889fc877f61ca72edda [9/10] erofs: unexport 
erofs_xattr_prefix()
config: arm-randconfig-r113-20251231 
(https://download.01.org/0day-ci/archive/20251231/[email protected]/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 
86b9f90b9574b3a7d15d28a91f6316459dcfa046)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20251231/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

sparse warnings: (new ones prefixed by >>)
   fs/erofs/xattr.c:436:28: sparse: sparse: symbol 'erofs_xattr_user_handler' 
was not declared. Should it be static?
   fs/erofs/xattr.c:443:28: sparse: sparse: symbol 
'erofs_xattr_trusted_handler' was not declared. Should it be static?
>> fs/erofs/xattr.c:451:43: sparse: sparse: symbol 
>> 'erofs_xattr_security_handler' was not declared. Should it be static?

vim +/erofs_xattr_security_handler +451 fs/erofs/xattr.c

89d806805778053 Gao Xiang 2025-12-29  449  
89d806805778053 Gao Xiang 2025-12-29  450  #ifdef CONFIG_EROFS_FS_SECURITY
89d806805778053 Gao Xiang 2025-12-29 @451  const struct xattr_handler 
__maybe_unused erofs_xattr_security_handler = {
89d806805778053 Gao Xiang 2025-12-29  452       .prefix = XATTR_SECURITY_PREFIX,
89d806805778053 Gao Xiang 2025-12-29  453       .flags  = 
EROFS_XATTR_INDEX_SECURITY,
89d806805778053 Gao Xiang 2025-12-29  454       .get    = 
erofs_xattr_generic_get,
89d806805778053 Gao Xiang 2025-12-29  455  };
89d806805778053 Gao Xiang 2025-12-29  456  #endif
89d806805778053 Gao Xiang 2025-12-29  457  

:::::: The code at line 451 was first introduced by commit
:::::: 89d8068057780531fab06b928a80599b9762e461 erofs: unexport erofs_getxattr()

:::::: TO: Gao Xiang <[email protected]>
:::::: CC: Gao Xiang <[email protected]>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to