Re: [PATCH 2/2] tty: define and set show_fdinfo only if procfs is enabled

From: Greg Kroah-Hartman
Date: Mon Mar 02 2020 - 05:52:12 EST


On Mon, Mar 02, 2020 at 11:49:54AM +0100, Tobias Klauser wrote:
> Follow the pattern used with other *_show_fdinfo functions and only
> define and use tty_show_fdinfo if CONFIG_PROC_FS is set.
>
> Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>
> ---
> drivers/tty/tty_io.c | 4 ++++
> 1 file changed, 4 insertions(+)

Same comments here as I made on patch 1/2.

thanks,

greg k-h