[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201604201149.Q1AxdGMc%fengguang.wu@intel.com>
Date: Wed, 20 Apr 2016 11:49:43 +0800
From: kbuild test robot <lkp@...el.com>
To: Jiang Qiu <qiujiang@...wei.com>
Cc: kbuild-all@...org, linus.walleij@...aro.org, gnurou@...il.com,
mika.westerberg@...ux.intel.com, andy.shevchenko@...il.com,
delicious.quinoa@...il.com, jamie@...ieiles.com,
charles.chenxin@...wei.com, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-acpi@...r.kernel.org,
linuxarm@...wei.com, Jiang Qiu <qiujiang@...wei.com>
Subject: Re: [PATCH v8 1/3] gpio: dwapb: remove name from dwapb_port_property
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
Download attachment ".config.gz" of type "application/octet-stream" (23720 bytes)
Powered by blists - more mailing lists