[wsa:strings/i2c 81/92] drivers/i2c/busses/i2c-uniphier-f.c:549:3: error: label 'err' 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/wsa/linux.git strings/i2c
head:   d7f655c88b353745a4ebb0da45a4002b2f4f353e
commit: 58ba5e9b219561ae5df700bb96da0e24f63e4e0e [81/92] i2c: uniphier-f: don't print error when adding adapter fails
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 58ba5e9b219561ae5df700bb96da0e24f63e4e0e
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': unknown attribute
   drivers/i2c/busses/i2c-uniphier-f.c:543:17: sparse: label 'err' was not declared
   drivers/i2c/busses/i2c-uniphier-f.c:549:17: sparse: label 'err' was not declared
   drivers/i2c/busses/i2c-uniphier-f.c: In function 'uniphier_fi2c_probe':
>> drivers/i2c/busses/i2c-uniphier-f.c:549:3: error: label 'err' used but not defined
      goto err;
      ^~~~

vim +/err +549 drivers/i2c/busses/i2c-uniphier-f.c

6a62974b Masahiro Yamada 2015-10-23  537  	priv->adap.bus_recovery_info = &uniphier_fi2c_bus_recovery_info;
6a62974b Masahiro Yamada 2015-10-23  538  	i2c_set_adapdata(&priv->adap, priv);
6a62974b Masahiro Yamada 2015-10-23  539  	platform_set_drvdata(pdev, priv);
6a62974b Masahiro Yamada 2015-10-23  540  
6a62974b Masahiro Yamada 2015-10-23  541  	ret = uniphier_fi2c_clk_init(dev, priv);
6a62974b Masahiro Yamada 2015-10-23  542  	if (ret)
ac9b91f3 Masahiro Yamada 2015-11-30 @543  		goto err;
6a62974b Masahiro Yamada 2015-10-23  544  
6a62974b Masahiro Yamada 2015-10-23  545  	ret = devm_request_irq(dev, irq, uniphier_fi2c_interrupt, 0,
6a62974b Masahiro Yamada 2015-10-23  546  			       pdev->name, priv);
6a62974b Masahiro Yamada 2015-10-23  547  	if (ret) {
6a62974b Masahiro Yamada 2015-10-23  548  		dev_err(dev, "failed to request irq %d\n", irq);
6a62974b Masahiro Yamada 2015-10-23 @549  		goto err;
6a62974b Masahiro Yamada 2015-10-23  550  	}
6a62974b Masahiro Yamada 2015-10-23  551  
6a62974b Masahiro Yamada 2015-10-23  552  	ret = i2c_add_adapter(&priv->adap);

:::::: The code at line 549 was first introduced by commit
:::::: 6a62974b667f3976ec44e255bed31746cca1ff51 i2c: uniphier_f: add UniPhier FIFO-builtin I2C driver

:::::: TO: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
:::::: CC: Wolfram Sang <wsa@xxxxxxxxxxxxx>

---
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]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux