[PATCH v2 0/4] Rid W=1 issues from TTY

From: Lee Jones
Date: Thu Nov 12 2020 - 05:59:09 EST


This set is part of a larger effort attempting to clean-up W=1
kernel builds, which are currently overwhelmingly riddled with
niggly little warnings.

v2:
- Remove unused variable completely
- Remove unnecessary 'extern' keyword

Lee Jones (4):
tty: tty_ldisc: Fix some kernel-doc related misdemeanours
tty: serial: 8250: 8250_port: Move prototypes to shared location
powerpc: asm: hvconsole: Move 'hvc_vio_init_early's prototype to
shared location
tty: serial: pmac_zilog: Remove unused disposable variable 'garbage'

arch/powerpc/include/asm/hvconsole.h | 3 +++
arch/powerpc/platforms/pseries/pseries.h | 3 ---
arch/powerpc/platforms/pseries/setup.c | 1 +
drivers/tty/serial/8250/8250_early.c | 3 ---
drivers/tty/serial/pmac_zilog.h | 8 ++++----
drivers/tty/tty_ldisc.c | 10 +++++-----
include/linux/serial_8250.h | 5 +++++
7 files changed, 18 insertions(+), 15 deletions(-)

Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Jiri Slaby <jirislaby@xxxxxxxxxx>
Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
Cc: linux-serial@xxxxxxxxxxxxxxx
Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Cc: Mike Hudson <Exoray@xxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
--
2.25.1