From: Mark Salter Date: Tue, 4 Oct 2011 13:17:36 +0000 (-0400) Subject: fix default __strnlen_user macro X-Git-Tag: v3.3-rc1~108^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=830f5800acae17b972d264ab65fe54a7f10c1d82;p=pandora-kernel.git fix default __strnlen_user macro The existing __strnlen_user macro simply resolved to strnlen. However, the count returned by strnlen_user should include the NULL byte. This patch fixes the __strnlen_user macro to include the NULL byte in the count. Signed-off-by: Mark Salter Acked-by: Arnd Bergmann --- Reading git-diff-tree failed