tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: fa7d0c17278644aa691f96d08bef8001b762f9cd commit: bf0d9e89de2e62fe9967ebb77b68d58d3812e4db [15829/16064] bcachefs: Split apart bch2_target_to_text(), bch2_target_to_text_sb() config: x86_64-randconfig-001-20231101 (https://download.01.org/0day-ci/archive/20231101/202311011824.HYApSA1M-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/20231101/202311011824.HYApSA1M-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/202311011824.HYApSA1M-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> fs/bcachefs/disk_groups.c:534:6: warning: no previous declaration for 'bch2_target_to_text_sb' [-Wmissing-declarations] void bch2_target_to_text_sb(struct printbuf *out, struct bch_sb *sb, unsigned v) ^~~~~~~~~~~~~~~~~~~~~~ vim +/bch2_target_to_text_sb +534 fs/bcachefs/disk_groups.c 533 > 534 void bch2_target_to_text_sb(struct printbuf *out, struct bch_sb *sb, unsigned v) 535 { 536 struct target t = target_decode(v); 537 538 switch (t.type) { 539 case TARGET_NULL: 540 prt_printf(out, "none"); 541 break; 542 case TARGET_DEV: { 543 struct bch_member m = bch2_sb_member_get(sb, t.dev); 544 545 if (bch2_dev_exists(sb, t.dev)) { 546 prt_printf(out, "Device "); 547 pr_uuid(out, m.uuid.b); 548 prt_printf(out, " (%u)", t.dev); 549 } else { 550 prt_printf(out, "Bad device %u", t.dev); 551 } 552 break; 553 } 554 case TARGET_GROUP: 555 bch2_disk_path_to_text(out, sb, t.group); 556 break; 557 default: 558 BUG(); 559 } 560 } 561 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki