On Tue, Jun 02, 2015 at 05:07:33PM +0200, Jan Kara wrote: > strnlen_user() returns the length of the string including terminating 0. > So avoid counting it again and unnecessarily reducing maximum string > size by 1. > > CC: Heiko Carstens <heiko.carstens@xxxxxxxxxx> > Signed-off-by: Jan Kara <jack@xxxxxxx> > --- > drivers/s390/char/keyboard.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html