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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201701080556.iPwkBNGJ%fengguang.wu@intel.com>
Date:   Sun, 8 Jan 2017 05:58:16 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc:     kbuild-all@...org, Linus Walleij <linus.walleij@...aro.org>,
        Alexandre Courbot <gnurou@...il.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Jiri Slaby <jslaby@...e.com>,
        Andy Shevchenko <andy.shevchenko@...il.com>,
        gnomes@...rguk.ukuu.org.uk, linux-kernel@...r.kernel.org,
        linux-serial@...r.kernel.org, linux-gpio@...r.kernel.org,
        Sudip Mukherjee <sudipm.mukherjee@...il.com>
Subject: Re: [PATCH v6 2/3] serial: exar: split out the exar code from
 8250_pci

Hi Sudip,

[auto build test WARNING on gpio/for-next]
[also build test WARNING on v4.10-rc2 next-20170106]
[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/Sudip-Mukherjee/add-gpio-support-to-exar/20170107-005654
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: x86_64-randconfig-s2-01080418 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/gpio/gpio-exar.c: In function 'gpio_exar_probe':
>> drivers/gpio/gpio-exar.c:146: warning: unused variable 'exar_temp'

vim +/exar_temp +146 drivers/gpio/gpio-exar.c

b9ca4a99 Sudip Mukherjee 2017-01-05  130  }
b9ca4a99 Sudip Mukherjee 2017-01-05  131  
b9ca4a99 Sudip Mukherjee 2017-01-05  132  static void exar_set_value(struct gpio_chip *chip, unsigned int offset,
b9ca4a99 Sudip Mukherjee 2017-01-05  133  			   int value)
b9ca4a99 Sudip Mukherjee 2017-01-05  134  {
b9ca4a99 Sudip Mukherjee 2017-01-05  135  	if (offset < 8)
b9ca4a99 Sudip Mukherjee 2017-01-05  136  		exar_update(chip, EXAR_OFFSET_MPIOLVL_LO, value,
b9ca4a99 Sudip Mukherjee 2017-01-05  137  			    offset);
b9ca4a99 Sudip Mukherjee 2017-01-05  138  	else
b9ca4a99 Sudip Mukherjee 2017-01-05  139  		exar_update(chip, EXAR_OFFSET_MPIOLVL_HI, value,
b9ca4a99 Sudip Mukherjee 2017-01-05  140  			    offset - 8);
b9ca4a99 Sudip Mukherjee 2017-01-05  141  }
b9ca4a99 Sudip Mukherjee 2017-01-05  142  
b9ca4a99 Sudip Mukherjee 2017-01-05  143  static int gpio_exar_probe(struct platform_device *pdev)
b9ca4a99 Sudip Mukherjee 2017-01-05  144  {
b9ca4a99 Sudip Mukherjee 2017-01-05  145  	struct pci_dev *dev = platform_get_drvdata(pdev);
b9ca4a99 Sudip Mukherjee 2017-01-05 @146  	struct exar_gpio_chip *exar_gpio, *exar_temp;
b9ca4a99 Sudip Mukherjee 2017-01-05  147  	void __iomem *p;
b9ca4a99 Sudip Mukherjee 2017-01-05  148  	int index = 1;
b9ca4a99 Sudip Mukherjee 2017-01-05  149  	int ret;
b9ca4a99 Sudip Mukherjee 2017-01-05  150  
b9ca4a99 Sudip Mukherjee 2017-01-05  151  	if (dev->vendor != PCI_VENDOR_ID_EXAR)
b9ca4a99 Sudip Mukherjee 2017-01-05  152  		return -ENODEV;
b9ca4a99 Sudip Mukherjee 2017-01-05  153  
b9ca4a99 Sudip Mukherjee 2017-01-05  154  	p = pci_ioremap_bar(dev, 0);

:::::: The code at line 146 was first introduced by commit
:::::: b9ca4a9920e0d8e8fca8a56c4132bfc8c6435506 gpio: exar: add gpio for exar cards

:::::: TO: Sudip Mukherjee <sudipm.mukherjee@...il.com>
:::::: CC: 0day robot <fengguang.wu@...el.com>

---
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" (30073 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ