Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1241458

Re: [PATCH 1/2] mfd: lm3533: fix build warning

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] mfd: lm3533: fix build warning
Date 2015-10-07 14:50 +0200
Message-ID <qgWkp-54E-5@gated-at.bofh.it> (permalink)
References <qgW14-4HJ-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Sudip,

[auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: x86_64-randconfig-x002-201540 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/mfd/lm3533-core.c: In function 'lm3533_i2c_probe':
>> drivers/mfd/lm3533-core.c:615:2: error: 'ret' undeclared (first use in this function)
     ret = lm3533_device_init(lm3533);
     ^
   drivers/mfd/lm3533-core.c:615:2: note: each undeclared identifier is reported only once for each function it appears in

vim +/ret +615 drivers/mfd/lm3533-core.c

fa648e51 Johan Hovold 2012-05-15  609  	if (IS_ERR(lm3533->regmap))
fa648e51 Johan Hovold 2012-05-15  610  		return PTR_ERR(lm3533->regmap);
16c5c023 Johan Hovold 2012-05-03  611  
16c5c023 Johan Hovold 2012-05-03  612  	lm3533->dev = &i2c->dev;
16c5c023 Johan Hovold 2012-05-03  613  	lm3533->irq = i2c->irq;
16c5c023 Johan Hovold 2012-05-03  614  
16c5c023 Johan Hovold 2012-05-03 @615  	ret = lm3533_device_init(lm3533);
16c5c023 Johan Hovold 2012-05-03  616  	if (ret)
fa648e51 Johan Hovold 2012-05-15  617  		return ret;
16c5c023 Johan Hovold 2012-05-03  618  

:::::: The code at line 615 was first introduced by commit
:::::: 16c5c023aac86228e3e94c4bf6d19708ea861a05 mfd: Add LM3533 lighting-power core driver

:::::: TO: Johan Hovold <jhovold@gmail.com>
:::::: CC: Samuel Ortiz <sameo@linux.intel.com>

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

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] mfd: lm3533: fix build warning Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-10-07 14:30 +0200
  Re: [PATCH 1/2] mfd: lm3533: fix build warning kbuild test robot <lkp@intel.com> - 2015-10-07 14:50 +0200
  Re: [PATCH 1/2] mfd: lm3533: fix build warning Lee Jones <lee.jones@linaro.org> - 2015-10-13 10:50 +0200

csiph-web