From: Gerald Schaefer Date: Wed, 8 Mar 2006 05:55:37 +0000 (-0800) Subject: [PATCH] s390: fix strnlen_user return value X-Git-Tag: v2.6.16-rc6~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=331c46591414f7f92b1cec048009abe89892ee79;p=pandora-kernel.git [PATCH] s390: fix strnlen_user return value strnlen_user is supposed to return then length count + 1 if no terminating \0 is found, and it should return 0 on exception. Found by David Howells . Signed-off-by: Gerald Schaefer Signed-off-by: Heiko Carstens Acked-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed