mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [mcgrof-next:20210708-block-fixes-v2 30/89] drivers/block/paride/pcd.c:1039:5: error: label 'pcd_cleanup_disks' used but not defined
@ 2021-07-15 14:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-15 14:01 UTC (permalink / raw)
  To: Luis Chamberlain; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2555 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20210708-block-fixes-v2
head:   db0174e39de7dc941f158ce53ee3af95b1635b62
commit: 9269ac480e815943f78054c276117d8300d92854 [30/89] paride/pcd: capture errors on cdrom_register()
config: arm-randconfig-r003-20210715 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=9269ac480e815943f78054c276117d8300d92854
        git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
        git fetch --no-tags mcgrof-next 20210708-block-fixes-v2
        git checkout 9269ac480e815943f78054c276117d8300d92854
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/block/paride/pcd.c: In function 'pcd_init':
>> drivers/block/paride/pcd.c:1039:5: error: label 'pcd_cleanup_disks' used but not defined
    1039 |     goto pcd_cleanup_disks;
         |     ^~~~


vim +/pcd_cleanup_disks +1039 drivers/block/paride/pcd.c

  1013	
  1014	static int __init pcd_init(void)
  1015	{
  1016		struct pcd_unit *cd;
  1017		int unit;
  1018		int err;
  1019	
  1020		if (disable)
  1021			return -EINVAL;
  1022	
  1023		pcd_init_units();
  1024	
  1025		if (pcd_detect())
  1026			return -ENODEV;
  1027	
  1028		/* get the atapi capabilities page */
  1029		pcd_probe_capabilities();
  1030	
  1031		err = register_blkdev(major, name);
  1032		if (err)
  1033			goto out_cleanup_disk;
  1034	
  1035		for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) {
  1036			if (cd->present) {
  1037				err = register_cdrom(cd->disk, &cd->info);
  1038				if (err)
> 1039					goto pcd_cleanup_disks;
  1040				cd->disk->private_data = cd;
  1041				err = add_disk(cd->disk);
  1042				if (err)
  1043					goto out_cleanup_disk;
  1044			}
  1045		}
  1046	
  1047		return 0;
  1048	
  1049	out_cleanup_disk:
  1050		pcd_cleanup_disks();
  1051		return err;
  1052	}
  1053	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29571 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-15 14:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15 14:01 [mcgrof-next:20210708-block-fixes-v2 30/89] drivers/block/paride/pcd.c:1039:5: error: label 'pcd_cleanup_disks' used but not defined kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®