[linux-next:master 15635/16110] fs/bcachefs/disk_groups.c:534:6: sparse: sparse: symbol 'bch2_target_to_text_sb' was not declared. Should it be static?

From: kernel test robot
Date: Thu Nov 02 2023 - 22:42:51 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ab57716449b3438c0136f6f412a2e59e0cf037a9
commit: bf0d9e89de2e62fe9967ebb77b68d58d3812e4db [15635/16110] bcachefs: Split apart bch2_target_to_text(), bch2_target_to_text_sb()
config: i386-randconfig-061-20231102 (https://download.01.org/0day-ci/archive/20231103/202311031030.xZT1XBXd-lkp@xxxxxxxxx/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231103/202311031030.xZT1XBXd-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311031030.xZT1XBXd-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
fs/bcachefs/disk_groups.c: note: in included file:
fs/bcachefs/bcachefs.h:957:9: sparse: sparse: array of flexible structures
>> fs/bcachefs/disk_groups.c:534:6: sparse: sparse: symbol 'bch2_target_to_text_sb' was not declared. Should it be static?

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki