Re: [PATCH] drivers: ide: Fix mostly harmless off-by-one hardcoded value

From: David Miller
Date: Fri Dec 12 2014 - 15:31:35 EST


From: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Nov 2014 22:57:29 +0100

> 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 <linux@xxxxxxxxxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/