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]
Date:	Fri, 25 Apr 2014 21:40:18 +0400
From:	Alexander Shiyan <shc_work@...l.ru>
To:	Greg KH <gregkh@...uxfoundation.org>
Cc:	linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
	Jon Ringle <jringle@...dpoint.com>,
	jon@...gle.org
Subject: Re: [PATCH v7 1/2] serial: sc16is7xx

Fri, 25 Apr 2014 10:26:40 -0700 от Greg KH <gregkh@...uxfoundation.org>:
> On Thu, Apr 24, 2014 at 08:56:06PM -0400, jon@...gle.org wrote:
> > From: Jon Ringle <jringle@...dpoint.com>
> > 
> > The SC16IS7xx is a slave I2C-bus/SPI interface to a single-channel
> > high performance UART. The SC16IS7xx's internal register set is
> > backward-compatible with the widely used and widely popular 16C450.
> > 
> > The SC16IS7xx also provides additional advanced features such as
> > auto hardware and software flow control, automatic RS-485 support, and
> > software reset.
> > 
> > Signed-off-by: Jon Ringle <jringle@...dpoint.com>
> > ---
> >  drivers/tty/serial/Kconfig       |    9 +
> >  drivers/tty/serial/Makefile      |    1 +
> >  drivers/tty/serial/sc16is7xx.c   | 1279 ++++++++++++++++++++++++++++++++++++++
> >  include/uapi/linux/serial_core.h |    3 +
> >  4 files changed, 1292 insertions(+)
> >  create mode 100644 drivers/tty/serial/sc16is7xx.c
> 
> I get a few build warnings with this patch applied:
> 
> drivers/tty/serial/sc16is7xx.c:1059:12: warning: ‘sc16is7xx_probe’ defined but not used [-Wunused-function]
>  static int sc16is7xx_probe(struct device *dev,
>             ^
> drivers/tty/serial/sc16is7xx.c:1175:12: warning: ‘sc16is7xx_remove’ defined but not used [-Wunused-function]
>  static int sc16is7xx_remove(struct device *dev)
>             ^
> drivers/tty/serial/sc16is7xx.c:1214:29: warning: ‘regcfg’ defined but not used [-Wunused-variable]
>  static struct regmap_config regcfg = {
>                              ^
> 
> Can you send a follow-on patch to fix them?

Seems this just should contain: "depends on I2C" in the Kconfig.

---

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ