Skip to content
Commit ca957b6a authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by David S. Miller
Browse files

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: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1746fbe5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment