lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201512191746.nPgRSNvC%fengguang.wu@intel.com>
Date:	Sat, 19 Dec 2015 17:02:20 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc:	kbuild-all@...org, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Jiri Slaby <jslaby@...e.com>, linux-kernel@...r.kernel.org,
	linux-serial@...r.kernel.org,
	Sudip Mukherjee <sudipm.mukherjee@...il.com>
Subject: Re: [PATCH] serial: 8250: add gpio support to exar

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

Download attachment ".config.gz" of type "application/octet-stream" (10138 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ