lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 21 Feb 2017 11:40:32 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc:     kbuild-all@...org, Lee Jones <lee.jones@...aro.org>,
        linux-kernel@...r.kernel.org,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH v1] mfd: intel_soc_pmic_core: Remove unnecessary function

Hi Andy,

[auto build test WARNING on ljones-mfd/for-mfd-next]
[also build test WARNING on v4.10 next-20170220]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Andy-Shevchenko/mfd-intel_soc_pmic_core-Remove-unnecessary-function/20170221-034944
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
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
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All warnings (new ones prefixed by >>):

   drivers/mfd/intel_soc_pmic_core.c: In function 'intel_soc_pmic_i2c_probe':
>> drivers/mfd/intel_soc_pmic_core.c:55:6: warning: unused variable 'irq'

vim +/irq +55 drivers/mfd/intel_soc_pmic_core.c

61dd2ca2 Shobhit Kumar 2015-06-26  39  	},
61dd2ca2 Shobhit Kumar 2015-06-26  40  };
61dd2ca2 Shobhit Kumar 2015-06-26  41  
a3aa9a93 Shobhit Kumar 2015-06-26  42  /* PWM consumed by the Intel GFX */
a3aa9a93 Shobhit Kumar 2015-06-26  43  static struct pwm_lookup crc_pwm_lookup[] = {
a3aa9a93 Shobhit Kumar 2015-06-26  44  	PWM_LOOKUP("crystal_cove_pwm", 0, "0000:00:02.0", "pwm_backlight", 0, PWM_POLARITY_NORMAL),
a3aa9a93 Shobhit Kumar 2015-06-26  45  };
a3aa9a93 Shobhit Kumar 2015-06-26  46  
51652384 Zhu, Lejun    2014-06-03  47  static int intel_soc_pmic_i2c_probe(struct i2c_client *i2c,
51652384 Zhu, Lejun    2014-06-03  48  				    const struct i2c_device_id *i2c_id)
51652384 Zhu, Lejun    2014-06-03  49  {
51652384 Zhu, Lejun    2014-06-03  50  	struct device *dev = &i2c->dev;
51652384 Zhu, Lejun    2014-06-03  51  	const struct acpi_device_id *id;
51652384 Zhu, Lejun    2014-06-03  52  	struct intel_soc_pmic_config *config;
51652384 Zhu, Lejun    2014-06-03  53  	struct intel_soc_pmic *pmic;
51652384 Zhu, Lejun    2014-06-03  54  	int ret;
51652384 Zhu, Lejun    2014-06-03 @55  	int irq;
51652384 Zhu, Lejun    2014-06-03  56  
51652384 Zhu, Lejun    2014-06-03  57  	id = acpi_match_device(dev->driver->acpi_match_table, dev);
51652384 Zhu, Lejun    2014-06-03  58  	if (!id || !id->driver_data)
51652384 Zhu, Lejun    2014-06-03  59  		return -ENODEV;
51652384 Zhu, Lejun    2014-06-03  60  
51652384 Zhu, Lejun    2014-06-03  61  	config = (struct intel_soc_pmic_config *)id->driver_data;
51652384 Zhu, Lejun    2014-06-03  62  
51652384 Zhu, Lejun    2014-06-03  63  	pmic = devm_kzalloc(dev, sizeof(*pmic), GFP_KERNEL);

:::::: The code at line 55 was first introduced by commit
:::::: 5165238460068e53c740eaa621ebb6623dc4a50d mfd: intel_soc_pmic: Core driver

:::::: TO: Zhu, Lejun <lejun.zhu@...ux.intel.com>
:::::: CC: Lee Jones <lee.jones@...aro.org>

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

Download attachment ".config.gz" of type "application/gzip" (40190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ