Hi Chao,
FYI, the error/warning still remains.
tree:
https://android.googlesource.com/kernel/common upstream-f2fs-stable-linux-4.19.y
head: 80a2667babab8bd3f8aa4b54a4188788f03ae591
commit: d3dfd47d65e36dfeccc5f59b05ea6dd95d87ebdd [724/977] f2fs: avoid unneeded data copy
in f2fs_ioc_move_range()
config: x86_64-rhel-8.3-kselftests
(
https://download.01.org/0day-ci/archive/20220125/202201251238.HxXZTxT5-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common upstream-f2fs-stable-linux-4.19.y
git checkout d3dfd47d65e36dfeccc5f59b05ea6dd95d87ebdd
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from fs/f2fs/file.c:26:
fs/f2fs/f2fs.h: In function 'blkaddr_in_node':
fs/f2fs/f2fs.h:2457:30: warning: taking address of packed member of 'struct
f2fs_inode' may result in an unaligned pointer value [-Waddress-of-packed-member]
2457 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr;
| ^~~~
fs/f2fs/f2fs.h:2457:47: warning: taking address of packed member of 'struct
direct_node' may result in an unaligned pointer value [-Waddress-of-packed-member]
2457 | return RAW_IS_INODE(node) ? node->i.i_addr : node->dn.addr;
| ^~~~
fs/f2fs/file.c: In function 'f2fs_ioc_getfslabel':
fs/f2fs/file.c:3390:40: warning: taking address of packed member of 'struct
f2fs_super_block' may result in an unaligned pointer value
[-Waddress-of-packed-member]
3390 | count = utf16s_to_utf8s(sbi->raw_super->volume_name,
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
fs/f2fs/file.c: In function 'f2fs_ioc_setfslabel':
fs/f2fs/file.c:3426:18: warning: taking address of packed member of 'struct
f2fs_super_block' may result in an unaligned pointer value
[-Waddress-of-packed-member]
3426 | sbi->raw_super->volume_name,
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
> fs/f2fs/file.o: warning: objtool: trace_f2fs_shutdown()+0x13d:
sibling call from callable instruction with modified stack frame
fs/f2fs/file.o:
warning: objtool: f2fs_filemap_fault()+0x24d: sibling call from callable instruction with
modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_file_read_iter()+0x131: sibling call from
callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: reserve_compress_blocks()+0x630: sibling call from
callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_setflags_common()+0x614: sibling call from
callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_zero_range()+0x8e1: sibling call from callable
instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_do_sync_file()+0x54e: sibling call from callable
instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_ioc_defragment()+0x878: sibling call from
callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_release_compress_blocks()+0x121b: sibling call
from callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_vm_page_mkwrite()+0xe3f: sibling call from
callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_truncate_data_blocks_range()+0xebc: sibling call
from callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_do_truncate_blocks()+0x954: sibling call from
callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_truncate()+0x336: sibling call from callable
instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_file_write_iter()+0x9fd: sibling call from
callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: __clone_blkaddrs()+0x73c: sibling call from callable
instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: __exchange_data_block()+0xdb4: sibling call from
callable instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_fallocate()+0xf2e: sibling call from callable
instruction with modified stack frame
fs/f2fs/file.o: warning: objtool: f2fs_ioctl()+0x2587: sibling call from callable
instruction with modified stack frame
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org