From 8cb81811e924ff0214ce4e8344e2feb1549cf0ce Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Tue, 2 Jun 2015 12:38:39 +0200 Subject: [PATCH] s390/keyboard: avoid off-by-one when using strnlen_user() strnlen_user() returns the length of the string including terminating 0. So avoid counting it again and unnecessarily reducing maximum string size by 1. Signed-off-by: Jan Kara Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-format-patch failed