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: NAlan Stern <stern@rowland.harvard.edu> Cc: Pavel Vasilyev <pavel@pavlinux.ru> Signed-off-by: NLen Brown <len.brown@intel.com>
Showing
想要评论请 注册 或 登录