2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-14 00:04:00 +08:00
linux-next/drivers/s390
Jan Kara 8cb81811e9 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 <jack@suse.cz>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-06-15 10:51:12 +02:00
..
block s390/dasd: Enable automatic loading of dasd_diag_mod 2015-05-13 09:58:19 +02:00
char s390/keyboard: avoid off-by-one when using strnlen_user() 2015-06-15 10:51:12 +02:00
cio s390: remove use of seq_printf return value 2015-04-15 16:35:25 -07:00
crypto s390/zcrypt: Fix invalid domain handling during ap module unload 2015-05-13 09:57:29 +02:00
kvm s390/sclp: unify basic sclp access by exposing "struct sclp" 2015-05-13 09:58:17 +02:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2015-04-15 09:00:47 -07:00
scsi mm, mempool: do not allow atomic resizing 2015-04-14 16:49:06 -07:00
Makefile