Re: [PATCH v8 1/3] gpio: dwapb: remove name from dwapb_port_property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: Binary data


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux