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

Attachment: .config.gz
Description: Binary data

Reply via email to