[arm-tegra:for-4.7/phy 6/6] drivers/phy/tegra/xusb-tegra210.c:1721:3: error: label 'out' used but not defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git for-4.7/phy
head:   44f5d38eaa21d7f23dd0a7675e477b679594f359
commit: 44f5d38eaa21d7f23dd0a7675e477b679594f359 [6/6] phy: tegra: Add Tegra210 support
config: arm64-allmodconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 44f5d38eaa21d7f23dd0a7675e477b679594f359
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

Note: the arm-tegra/for-4.7/phy HEAD 44f5d38eaa21d7f23dd0a7675e477b679594f359 builds fine.
      It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

   drivers/phy/tegra/xusb-tegra210.c: In function 'tegra210_sata_pad_probe':
>> drivers/phy/tegra/xusb-tegra210.c:1741:1: warning: label 'free' defined but not used [-Wunused-label]
    free:
    ^
>> drivers/phy/tegra/xusb-tegra210.c:1721:3: error: label 'out' used but not defined
      goto out;
      ^

vim +/out +1721 drivers/phy/tegra/xusb-tegra210.c

  1715		pad->ops = &tegra210_sata_lane_ops;
  1716		pad->soc = soc;
  1717	
  1718		err = tegra_xusb_pad_init(pad, padctl, np);
  1719		if (err < 0) {
  1720			kfree(sata);
> 1721			goto out;
  1722		}
  1723	
  1724		sata->rst = devm_reset_control_get(&pad->dev, "phy");
  1725		if (IS_ERR(sata->rst)) {
  1726			err = PTR_ERR(sata->rst);
  1727			dev_err(&pad->dev, "failed to get SATA pad reset: %d\n", err);
  1728			goto unregister;
  1729		}
  1730	
  1731		err = tegra_xusb_pad_register(pad, &tegra210_sata_phy_ops);
  1732		if (err < 0)
  1733			goto unregister;
  1734	
  1735		dev_set_drvdata(&pad->dev, pad);
  1736	
  1737		return pad;
  1738	
  1739	unregister:
  1740		device_unregister(&pad->dev);
> 1741	free:
  1742		return ERR_PTR(err);
  1743	}
  1744	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux