From: kernel test robot <lkp@intel.com>
To: Gao Xiang <hsiangkao@linux.alibaba.com>
Cc: oe-kbuild-all@lists.linux.dev, Xiang Gao <xiang@kernel.org>,
linux-erofs@lists.ozlabs.org, Chao Yu <yuchao0@huawei.com>,
Chao Yu <chao@kernel.org>
Subject: [xiang-erofs:fixes 6/7] fs/erofs/fscache.c:201:30: error: 'struct erofs_map_dev' has no member named 'm_fscache'
Date: Fri, 13 Dec 2024 06:30:51 +0800 [thread overview]
Message-ID: <202412130644.hPflG7Qg-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git fixes
head: 320077e635e75d3053b81adb7c0d53f0a89e300d
commit: 34cff83201d5d796f808bf72ab734c4aae425bff [6/7] erofs: reference `struct erofs_device_info` for erofs_map_dev
config: sparc64-randconfig-001-20241213 (https://download.01.org/0day-ci/archive/20241213/202412130644.hPflG7Qg-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412130644.hPflG7Qg-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/202412130644.hPflG7Qg-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/erofs/fscache.c: In function 'erofs_fscache_bio_alloc':
>> fs/erofs/fscache.c:201:30: error: 'struct erofs_map_dev' has no member named 'm_fscache'
201 | io->io.private = mdev->m_fscache->cookie;
| ^~
fs/erofs/fscache.c: In function 'erofs_fscache_data_read_slice':
fs/erofs/fscache.c:319:47: error: 'struct erofs_map_dev' has no member named 'm_fscache'
319 | ret = erofs_fscache_read_io_async(mdev.m_fscache->cookie,
| ^
vim +201 fs/erofs/fscache.c
a1bafc3109d713e Jingbo Xu 2024-03-08 194
a1bafc3109d713e Jingbo Xu 2024-03-08 195 struct bio *erofs_fscache_bio_alloc(struct erofs_map_dev *mdev)
a1bafc3109d713e Jingbo Xu 2024-03-08 196 {
a1bafc3109d713e Jingbo Xu 2024-03-08 197 struct erofs_fscache_bio *io;
a1bafc3109d713e Jingbo Xu 2024-03-08 198
a1bafc3109d713e Jingbo Xu 2024-03-08 199 io = kmalloc(sizeof(*io), GFP_KERNEL | __GFP_NOFAIL);
a1bafc3109d713e Jingbo Xu 2024-03-08 200 bio_init(&io->bio, NULL, io->bvecs, BIO_MAX_VECS, REQ_OP_READ);
a1bafc3109d713e Jingbo Xu 2024-03-08 @201 io->io.private = mdev->m_fscache->cookie;
a1bafc3109d713e Jingbo Xu 2024-03-08 202 io->io.end_io = erofs_fscache_bio_endio;
a1bafc3109d713e Jingbo Xu 2024-03-08 203 refcount_set(&io->io.ref, 1);
a1bafc3109d713e Jingbo Xu 2024-03-08 204 return &io->bio;
a1bafc3109d713e Jingbo Xu 2024-03-08 205 }
a1bafc3109d713e Jingbo Xu 2024-03-08 206
:::::: The code at line 201 was first introduced by commit
:::::: a1bafc3109d713ed83f73d61ba5cb1e6fd80fdbc erofs: support compressed inodes over fscache
:::::: TO: Jingbo Xu <jefflexu@linux.alibaba.com>
:::::: CC: Gao Xiang <hsiangkao@linux.alibaba.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Gao Xiang <hsiangkao@linux.alibaba.com>
Cc: Chao Yu <yuchao0@huawei.com>,
linux-erofs@lists.ozlabs.org, oe-kbuild-all@lists.linux.dev
Subject: [xiang-erofs:fixes 6/7] fs/erofs/fscache.c:201:30: error: 'struct erofs_map_dev' has no member named 'm_fscache'
Date: Fri, 13 Dec 2024 06:30:51 +0800 [thread overview]
Message-ID: <202412130644.hPflG7Qg-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git fixes
head: 320077e635e75d3053b81adb7c0d53f0a89e300d
commit: 34cff83201d5d796f808bf72ab734c4aae425bff [6/7] erofs: reference `struct erofs_device_info` for erofs_map_dev
config: sparc64-randconfig-001-20241213 (https://download.01.org/0day-ci/archive/20241213/202412130644.hPflG7Qg-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412130644.hPflG7Qg-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/202412130644.hPflG7Qg-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/erofs/fscache.c: In function 'erofs_fscache_bio_alloc':
>> fs/erofs/fscache.c:201:30: error: 'struct erofs_map_dev' has no member named 'm_fscache'
201 | io->io.private = mdev->m_fscache->cookie;
| ^~
fs/erofs/fscache.c: In function 'erofs_fscache_data_read_slice':
fs/erofs/fscache.c:319:47: error: 'struct erofs_map_dev' has no member named 'm_fscache'
319 | ret = erofs_fscache_read_io_async(mdev.m_fscache->cookie,
| ^
vim +201 fs/erofs/fscache.c
a1bafc3109d713e Jingbo Xu 2024-03-08 194
a1bafc3109d713e Jingbo Xu 2024-03-08 195 struct bio *erofs_fscache_bio_alloc(struct erofs_map_dev *mdev)
a1bafc3109d713e Jingbo Xu 2024-03-08 196 {
a1bafc3109d713e Jingbo Xu 2024-03-08 197 struct erofs_fscache_bio *io;
a1bafc3109d713e Jingbo Xu 2024-03-08 198
a1bafc3109d713e Jingbo Xu 2024-03-08 199 io = kmalloc(sizeof(*io), GFP_KERNEL | __GFP_NOFAIL);
a1bafc3109d713e Jingbo Xu 2024-03-08 200 bio_init(&io->bio, NULL, io->bvecs, BIO_MAX_VECS, REQ_OP_READ);
a1bafc3109d713e Jingbo Xu 2024-03-08 @201 io->io.private = mdev->m_fscache->cookie;
a1bafc3109d713e Jingbo Xu 2024-03-08 202 io->io.end_io = erofs_fscache_bio_endio;
a1bafc3109d713e Jingbo Xu 2024-03-08 203 refcount_set(&io->io.ref, 1);
a1bafc3109d713e Jingbo Xu 2024-03-08 204 return &io->bio;
a1bafc3109d713e Jingbo Xu 2024-03-08 205 }
a1bafc3109d713e Jingbo Xu 2024-03-08 206
:::::: The code at line 201 was first introduced by commit
:::::: a1bafc3109d713ed83f73d61ba5cb1e6fd80fdbc erofs: support compressed inodes over fscache
:::::: TO: Jingbo Xu <jefflexu@linux.alibaba.com>
:::::: CC: Gao Xiang <hsiangkao@linux.alibaba.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-12-12 22:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-12 22:30 kernel test robot [this message]
2024-12-12 22:30 ` [xiang-erofs:fixes 6/7] fs/erofs/fscache.c:201:30: error: 'struct erofs_map_dev' has no member named 'm_fscache' kernel test robot
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=202412130644.hPflG7Qg-lkp@intel.com \
--to=lkp@intel.com \
--cc=chao@kernel.org \
--cc=hsiangkao@linux.alibaba.com \
--cc=linux-erofs@lists.ozlabs.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=xiang@kernel.org \
--cc=yuchao0@huawei.com \
/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.