lkml.org 
[lkml]   [2017]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@gmail.com>
:::::: CC: 0day robot <fengguang.wu@intel.com>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-01-07 22:59    [W:0.120 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site