mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: kbuild-all@01.org, Linus Walleij <linus.walleij@linaro.org>,
	Alexandre Courbot <gnurou@gmail.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jslaby@suse.com>,
	Andy Shevchenko <andy.shevchenko@gmail.com>,
	gnomes@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org,
	linux-serial@vger.kernel.org, linux-gpio@vger.kernel.org,
	Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Subject: Re: [PATCH v6 2/3] serial: exar: split out the exar code from 8250_pci
Date: Sun, 8 Jan 2017 05:58:16 +0800	[thread overview]
Message-ID: <201701080556.iPwkBNGJ%fengguang.wu@intel.com> (raw)
In-Reply-To: <1483611602-5560-3-git-send-email-sudipm.mukherjee@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2822 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30073 bytes --]

  parent reply	other threads:[~2017-01-07 21:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-05 10:19 [PATCH v6 0/3] add gpio support to exar Sudip Mukherjee
2017-01-05 10:20 ` [PATCH v6 1/3] gpio: exar: add gpio for exar cards Sudip Mukherjee
2017-01-05 10:42   ` Andy Shevchenko
2017-01-05 10:20 ` [PATCH v6 2/3] serial: exar: split out the exar code from 8250_pci Sudip Mukherjee
2017-01-05 10:51   ` Andy Shevchenko
2017-01-07 21:58   ` kbuild test robot [this message]
2017-01-05 10:20 ` [PATCH v6 3/3] serial: 8250_pci: remove exar code Sudip Mukherjee
2017-01-05 14:35   ` Andy Shevchenko
2017-01-05 14:37     ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201701080556.iPwkBNGJ%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=gnomes@lxorguk.ukuu.org.uk \
    --cc=gnurou@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.com \
    --cc=kbuild-all@01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=sudipm.mukherjee@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®