mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Jiang Qiu <qiujiang@huawei.com>
Cc: kbuild-all@01.org, linus.walleij@linaro.org, gnurou@gmail.com,
	mika.westerberg@linux.intel.com, andy.shevchenko@gmail.com,
	delicious.quinoa@gmail.com, jamie@jamieiles.com,
	charles.chenxin@huawei.com, linux-kernel@vger.kernel.org,
	linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org,
	linuxarm@huawei.com, Jiang Qiu <qiujiang@huawei.com>
Subject: Re: [PATCH v8 1/3] gpio: dwapb: remove name from dwapb_port_property
Date: Wed, 20 Apr 2016 11:49:43 +0800	[thread overview]
Message-ID: <201604201149.Q1AxdGMc%fengguang.wu@intel.com> (raw)
In-Reply-To: <1461123074-64205-2-git-send-email-qiujiang@huawei.com>

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

Hi,

[auto build test WARNING on gpio/for-next]
[also build test WARNING on v4.6-rc4 next-20160419]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Jiang-Qiu/gpio-dwapb-add-gpio-signaled-acpi-event-support-for-power-button/20160420-114023
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: x86_64-randconfig-x010-201616 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/gpio/gpio-dwapb.c: In function 'dwapb_gpio_add_port':
>> drivers/gpio/gpio-dwapb.c:412:22: warning: unknown conversion type character 0xa in format [-Wformat=]
      dev_err(gpio->dev, "failed to init gpio chip for port%\n",
                         ^
>> drivers/gpio/gpio-dwapb.c:412:22: warning: too many arguments for format [-Wformat-extra-args]

vim +412 drivers/gpio/gpio-dwapb.c

   396		port->idx = pp->idx;
   397	
   398	#ifdef CONFIG_PM_SLEEP
   399		port->ctx = devm_kzalloc(gpio->dev, sizeof(*port->ctx), GFP_KERNEL);
   400		if (!port->ctx)
   401			return -ENOMEM;
   402	#endif
   403	
   404		dat = gpio->regs + GPIO_EXT_PORTA + (pp->idx * GPIO_EXT_PORT_SIZE);
   405		set = gpio->regs + GPIO_SWPORTA_DR + (pp->idx * GPIO_SWPORT_DR_SIZE);
   406		dirout = gpio->regs + GPIO_SWPORTA_DDR +
   407			(pp->idx * GPIO_SWPORT_DDR_SIZE);
   408	
   409		err = bgpio_init(&port->gc, gpio->dev, 4, dat, set, NULL, dirout,
   410				 NULL, false);
   411		if (err) {
 > 412			dev_err(gpio->dev, "failed to init gpio chip for port%\n",
   413				port->idx);
   414			return err;
   415		}
   416	
   417	#ifdef CONFIG_OF_GPIO
   418		port->gc.of_node = pp->node;
   419	#endif
   420		port->gc.ngpio = pp->ngpio;

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 23720 bytes --]

  reply	other threads:[~2016-04-20  3:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20  3:31 [PATCH v8 0/3] gpio: dwapb: add gpio-signaled acpi event support for power button Jiang Qiu
2016-04-20  3:31 ` [PATCH v8 1/3] gpio: dwapb: remove name from dwapb_port_property Jiang Qiu
2016-04-20  3:49   ` kbuild test robot [this message]
2016-04-20  3:31 ` [PATCH v8 2/3] gpio: dwapb: convert device node to fwnode Jiang Qiu
2016-04-20  3:31 ` [PATCH v8 3/3] gpio: dwapb: add gpio-signaled acpi event support Jiang Qiu

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=201604201149.Q1AxdGMc%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=charles.chenxin@huawei.com \
    --cc=delicious.quinoa@gmail.com \
    --cc=gnurou@gmail.com \
    --cc=jamie@jamieiles.com \
    --cc=kbuild-all@01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=qiujiang@huawei.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®