From: Rasmus Villemoes Date: Thu, 27 Nov 2014 21:57:29 +0000 (+0100) Subject: drivers: ide: Fix mostly harmless off-by-one hardcoded value X-Git-Tag: omap-for-v3.19/fixes-rc1~102^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca957b6a34a6f7014828f235e35c1945cb955795;p=pandora-kernel.git drivers: ide: Fix mostly harmless off-by-one hardcoded value The string "IOMEGA Clik!" has length 12, not 11. Using strstarts avoids the error-prone hardcoding of the prefix length. For consistency, also change the occurence just above. Signed-off-by: Rasmus Villemoes Signed-off-by: David S. Miller --- Reading git-diff-tree failed