Re: [PATCH 06/20] n_hdlc_tty_read(): remove pointless access_ok()

2020-05-15 Thread Greg Kroah-Hartman
On Sun, May 10, 2020 at 12:45:43AM +0100, Al Viro wrote: > From: Al Viro > > only copy_to_user() is done to the address in question > > Signed-off-by: Al Viro > --- > drivers/tty/n_hdlc.c | 7 --- > 1 file changed, 7 deletions(-) Reviewed-by: Greg Kroah-Hartman

[PATCH 06/20] n_hdlc_tty_read(): remove pointless access_ok()

2020-05-09 Thread Al Viro
From: Al Viro only copy_to_user() is done to the address in question Signed-off-by: Al Viro --- drivers/tty/n_hdlc.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/tty/n_hdlc.c b/drivers/tty/n_hdlc.c index 991f49ee4026..b09eac4b6d64 100644 --- a/drivers/tty/n_hdlc.c +++