diff options
author | 2014-11-27 22:57:29 +0100 | |
---|---|---|
committer | 2014-12-12 15:26:31 -0500 | |
commit | ca957b6a34a6f7014828f235e35c1945cb955795 (patch) | |
tree | 3b215cd6d91bed62f19736b90e7806951c42f3f2 /scripts/gdb/linux/utils.py | |
parent | IDE: Deletion of an unnecessary check before the function call "module_put" (diff) | |
download | wireguard-linux-ca957b6a34a6f7014828f235e35c1945cb955795.tar.xz wireguard-linux-ca957b6a34a6f7014828f235e35c1945cb955795.zip |
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 <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions