Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1295330

Re: [PATCH] serial: 8250: add gpio support to exar

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] serial: 8250: add gpio support to exar
Date 2015-12-19 10:10 +0100
Message-ID <qHlGy-1fG-1@gated-at.bofh.it> (permalink)
References <qHkUa-Ib-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Sudip,

[auto build test WARNING on tty/tty-testing]
[also build test WARNING on next-20151218]
[cannot apply to v4.4-rc5]

url:    https://github.com/0day-ci/linux/commits/Sudip-Mukherjee/serial-8250-add-gpio-support-to-exar/20151219-161216
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: m32r-m32104ut_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All warnings (new ones prefixed by >>):

   In file included from drivers/tty/serial/8250/8250_core.c:46:0:
>> drivers/tty/serial/8250/8250.h:226:17: warning: 'struct pci_dev' declared inside parameter list
             struct uart_8250_port *port)
                    ^
>> drivers/tty/serial/8250/8250.h:226:17: warning: its scope is only this definition or declaration, which is probably not what you want
   drivers/tty/serial/8250/8250.h:231:13: warning: 'xr17v35x_gpio_exit' defined but not used [-Wunused-function]
    static void xr17v35x_gpio_exit(struct uart_8250_port *port) { }
                ^

vim +226 drivers/tty/serial/8250/8250.h

   210			serial_out(up, 0x04, status);
   211		}
   212		return 1;
   213	}
   214	
   215	static inline int serial_index(struct uart_port *port)
   216	{
   217		return port->minor - 64;
   218	}
   219	
   220	#ifdef CONFIG_GPIOLIB
   221	int xr17v35x_gpio_init(struct pci_dev *dev,
   222			       struct uart_8250_port *port);
   223	void xr17v35x_gpio_exit(struct uart_8250_port *port);
   224	#else
   225	static inline int xr17v35x_gpio_init(struct pci_dev *dev,
 > 226					     struct uart_8250_port *port)
   227	{
   228		return 0;
   229	}
   230	
   231	static void xr17v35x_gpio_exit(struct uart_8250_port *port) { }
   232	#endif
   233	
   234	#if 0

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] serial: 8250: add gpio support to exar Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-12-19 09:20 +0100
  Re: [PATCH] serial: 8250: add gpio support to exar kbuild test robot <lkp@intel.com> - 2015-12-19 10:10 +0100
  Re: [PATCH] serial: 8250: add gpio support to exar kbuild test robot <lkp@intel.com> - 2015-12-19 10:20 +0100

csiph-web