fs/btrfs/disk-io.o: warning: objtool: btrfs_repair_eb_io_failure.isra.0+0x234: unreachable instruction
kernel test robot
build bot::::::
:::::: Manual check reason: "loongarch: unreachable instruction" ::::::
BCC: [email protected]
CC: [email protected]
CC: [email protected]
TO: Qu Wenruo <[email protected]>
CC: David Sterba <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8d7fe9885c62fc9a95bf55d9db244d9672a8aadc commit: 2574e9011018a1d6d3da8d03d0bfc4e2675dee2a btrfs: make btrfs_repair_io_failure() handle bs > ps cases without large folios date: 12 months ago
:::::: branch date: 6 hours ago
:::::: commit date: 12 months ago
config: loongarch-randconfig-r2304-20261122 (https://download.01.org/0day-ci/archive/20261124/[email protected]/config)
compiler: loongarch64-linux-gcc (GCC) 16.2.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261124/[email protected]/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
| Fixes: 2574e9011018 ("btrfs: make btrfs_repair_io_failure() handle bs > ps cases without large folios")
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/All warnings (new ones prefixed by >>):
In file included from arch/loongarch/include/asm/uaccess.h:17,
from include/linux/uaccess.h:12,
from include/linux/sched/task.h:13,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:34,
from fs/btrfs/disk-io.c:6:
include/linux/swapops.h: In function 'swp_entry_to_pmd':
arch/loongarch/include/asm/pgtable.h:302:34: warning: missing braces around initializer [-Wmissing-braces]
302 | #define __swp_entry_to_pmd(x) ((pmd_t) { (x).val | _PAGE_HUGE })
| ^
include/linux/swapops.h:559:16: note: in expansion of macro '__swp_entry_to_pmd'
559 | return __swp_entry_to_pmd(arch_entry);
| ^~~~~~~~~~~~~~~~~~
>> fs/btrfs/disk-io.o: warning: objtool: btrfs_repair_eb_io_failure.isra.0+0x234: unreachable instruction fs/btrfs/disk-io.o: warning: objtool: btrfs_cleanup_one_transaction+0x12c: unreachable instruction fs/btrfs/disk-io.o: warning: objtool: warn_about_uncommitted_trans+0x1e8: unreachable instruction fs/btrfs/disk-io.o: warning: objtool: close_ctree+0x410: unreachable instruction
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki