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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20211026.133204.846263172227760543.davem@davemloft.net>
Date:   Tue, 26 Oct 2021 13:32:04 +0100 (BST)
From:   David Miller <davem@...emloft.net>
To:     geert@...ux-m68k.org
Cc:     gregkh@...uxfoundation.org, jirislaby@...nel.org, arnd@...db.de,
        sparclinux@...r.kernel.org, linux-serial@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] serial: sunzilog: Mark sunzilog_putchar()
 __maybe_unused

From: Geert Uytterhoeven <geert@...ux-m68k.org>
Date: Tue, 26 Oct 2021 10:04:26 +0200

> If CONSOLE_POLL=n, CONFIG_SERIAL_SUNZILOG_CONSOLE=n, and CONFIG_SERIO=m:
> 
>     drivers/tty/serial/sunzilog.c:1128:13: error: ‘sunzilog_putchar’ defined but not used [-Werror=unused-function]
>      1128 | static void sunzilog_putchar(struct uart_port *port, int ch)
> 	  |             ^~~~~~~~~~~~~~~~
> 
> Fix this by marking sunzilog_putchar() __maybe_unused.
> 
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>

Acked-by: David S. Miller <davem@...emloft.net>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ