Skip to content

Commit 34314cd

Browse files
ColinIanKinghdeller
authored andcommitted
parisc: Fix spelling mistake "mis-match" -> "mismatch" in eisa driver
There are several spelling mistakes in kernel error messages. Fix them. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 70be49f commit 34314cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/parisc/eisa_enumerator.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ static int parse_slot_config(int slot,
393393
}
394394

395395
if (p0 + function_len < pos) {
396-
printk(KERN_ERR "eisa_enumerator: function %d length mis-match "
396+
printk(KERN_ERR "eisa_enumerator: function %d length mismatch "
397397
"got %d, expected %d\n",
398398
num_func, pos-p0, function_len);
399399
res=-1;
@@ -407,13 +407,13 @@ static int parse_slot_config(int slot,
407407
}
408408

409409
if (pos != es->config_data_length) {
410-
printk(KERN_ERR "eisa_enumerator: config data length mis-match got %d, expected %d\n",
410+
printk(KERN_ERR "eisa_enumerator: config data length mismatch got %d, expected %d\n",
411411
pos, es->config_data_length);
412412
res=-1;
413413
}
414414

415415
if (num_func != es->num_functions) {
416-
printk(KERN_ERR "eisa_enumerator: number of functions mis-match got %d, expected %d\n",
416+
printk(KERN_ERR "eisa_enumerator: number of functions mismatch got %d, expected %d\n",
417417
num_func, es->num_functions);
418418
res=-2;
419419
}
@@ -451,7 +451,7 @@ static int init_slot(int slot, struct eeprom_eisa_slot_info *es)
451451
}
452452
if (es->eisa_slot_id != id) {
453453
print_eisa_id(id_string, id);
454-
printk(KERN_ERR "EISA slot %d id mis-match: got %s",
454+
printk(KERN_ERR "EISA slot %d id mismatch: got %s",
455455
slot, id_string);
456456

457457
print_eisa_id(id_string, es->eisa_slot_id);

0 commit comments

Comments
 (0)