[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 12 Dec 2014 15:31:27 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: linux@...musvillemoes.dk
Cc: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: ide: Fix mostly harmless off-by-one hardcoded
value
From: Rasmus Villemoes <linux@...musvillemoes.dk>
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@...musvillemoes.dk>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists