[xiang-erofs:dev-test 5/5] fs/erofs/super.c:659:22: error: no member named 'off' in 'struct erofs_device_info'

Sheng Yong shengyong2021 at gmail.com
Mon May 19 11:58:59 AEST 2025


On 5/19/25 02:06, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev-test
> head:   7cd18799175c533c3f9b1c2b2cb6551e2a86c921
> commit: 7cd18799175c533c3f9b1c2b2cb6551e2a86c921 [5/5] erofs: add 'fsoffset' mount option to specify filesystem offset
> config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20250519/202505190150.4HUHevyn-lkp@intel.com/config)
> compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250519/202505190150.4HUHevyn-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 at intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202505190150.4HUHevyn-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>>> fs/erofs/super.c:659:22: error: no member named 'off' in 'struct erofs_device_info'
>       659 |                                        sbi->dif0.off, 1 << sbi->blkszbits);

Hi, Xiang,

dif0.off has already been changed to dif0.fsoff, shall I resend the patch to fix that?

thanks,
shengyong

>           |                                        ~~~~~~~~~ ^
>     include/linux/fs_context.h:239:52: note: expanded from macro 'invalfc'
>       239 | #define invalfc(fc, fmt, ...) (errorfc(fc, fmt, ## __VA_ARGS__), -EINVAL)
>           |                                                    ^~~~~~~~~~~
>     include/linux/fs_context.h:227:65: note: expanded from macro 'errorfc'
>       227 | #define errorfc(fc, fmt, ...) __plog((&(fc)->log), 'e', fmt, ## __VA_ARGS__)
>           |                                                                 ^~~~~~~~~~~
>     include/linux/fs_context.h:192:17: note: expanded from macro '__plog'
>       192 |                                         l, fmt, ## __VA_ARGS__)
>           |                                                    ^~~~~~~~~~~
>     1 error generated.
[...]



More information about the Linux-erofs mailing list