From: Len Brown Date: Fri, 27 Jul 2012 01:32:01 +0000 (-0400) Subject: ACPI: replace strlen("string") with sizeof("string") -1 X-Git-Tag: v3.6-rc2~31^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=869639f9e7ff5ca337b27469c298dd11c29cf0fa;p=pandora-kernel.git ACPI: replace strlen("string") with sizeof("string") -1 ...both give the number of chars in the string without the '\0', as strncmp() wants, but sizeof() is compile-time. Reported-by: Alan Stern Cc: Pavel Vasilyev Signed-off-by: Len Brown --- Reading git-diff-tree failed