aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parport')
-rw-r--r--drivers/parport/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/probe.c b/drivers/parport/probe.c
index 853a15f44f88..cd565bb4e1a9 100644
--- a/drivers/parport/probe.c
+++ b/drivers/parport/probe.c
@@ -163,7 +163,7 @@ static ssize_t parport_read_device_id (struct parport *port, char *buffer,
163 idlens[1] = idlens[0]+2; 163 idlens[1] = idlens[0]+2;
164 if (belen != lelen) { 164 if (belen != lelen) {
165 int off = 2; 165 int off = 2;
166 /* Don't try lenghts of 0x100 and 0x200 as 1 and 2 */ 166 /* Don't try lengths of 0x100 and 0x200 as 1 and 2 */
167 if (idlens[0] <= 2) 167 if (idlens[0] <= 2)
168 off = 0; 168 off = 0;
169 idlens[off] = max(belen, lelen); 169 idlens[off] = max(belen, lelen);