* [xiang:erofs/pageleak-detection 1/1] fs/erofs/compress.h:89:39: error: 'const struct erofs_sb_info' has no member named 'managed_cache'
@ 2023-11-28 0:19 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-28 0:19 UTC (permalink / raw)
To: Gao Xiang; +Cc: oe-kbuild-all, Xiang Gao
tree: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/linux.git erofs/pageleak-detection
head: 204afbae38444fdd3b5ea37a94043f974b94967a
commit: 204afbae38444fdd3b5ea37a94043f974b94967a [1/1] erofs: (testing only) page leak detection
config: i386-randconfig-002-20231127 (https://download.01.org/0day-ci/archive/20231128/202311280634.HM6twAz5-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231128/202311280634.HM6twAz5-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311280634.HM6twAz5-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from fs/erofs/utils.c:7:
fs/erofs/compress.h: In function 'erofs_page_is_managed':
>> fs/erofs/compress.h:89:39: error: 'const struct erofs_sb_info' has no member named 'managed_cache'
89 | #define MNGD_MAPPING(sbi) ((sbi)->managed_cache->i_mapping)
| ^~
fs/erofs/compress.h:93:33: note: in expansion of macro 'MNGD_MAPPING'
93 | return page->mapping == MNGD_MAPPING(sbi);
| ^~~~~~~~~~~~
vim +89 fs/erofs/compress.h
274812334b46de5 drivers/staging/erofs/compress.h Gao Xiang 2019-06-24 88
622ceaddb7649ca fs/erofs/compress.h Gao Xiang 2021-10-11 @89 #define MNGD_MAPPING(sbi) ((sbi)->managed_cache->i_mapping)
622ceaddb7649ca fs/erofs/compress.h Gao Xiang 2021-10-11 90 static inline bool erofs_page_is_managed(const struct erofs_sb_info *sbi,
622ceaddb7649ca fs/erofs/compress.h Gao Xiang 2021-10-11 91 struct page *page)
622ceaddb7649ca fs/erofs/compress.h Gao Xiang 2021-10-11 92 {
622ceaddb7649ca fs/erofs/compress.h Gao Xiang 2021-10-11 93 return page->mapping == MNGD_MAPPING(sbi);
622ceaddb7649ca fs/erofs/compress.h Gao Xiang 2021-10-11 94 }
622ceaddb7649ca fs/erofs/compress.h Gao Xiang 2021-10-11 95
:::::: The code at line 89 was first introduced by commit
:::::: 622ceaddb7649ca328832f50ba1400af778d75fa erofs: lzma compression support
:::::: TO: Gao Xiang <hsiangkao@linux.alibaba.com>
:::::: CC: Gao Xiang <hsiangkao@linux.alibaba.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-28 0:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-28 0:19 [xiang:erofs/pageleak-detection 1/1] fs/erofs/compress.h:89:39: error: 'const struct erofs_sb_info' has no member named 'managed_cache' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.