All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Gao Xiang <xiang@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, Xiang Gao <xiang@kernel.org>
Subject: [xiang:erofs/pageleak-detection 1/1] fs/erofs/compress.h:89:39: error: 'const struct erofs_sb_info' has no member named 'managed_cache'
Date: Tue, 28 Nov 2023 08:19:33 +0800	[thread overview]
Message-ID: <202311280634.HM6twAz5-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-11-28  0:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202311280634.HM6twAz5-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=xiang@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.