* [PATCH] parisc: Fix spelling mistake "mis-match" -> "mismatch"
@ 2022-10-13 22:19 Colin Ian King
2022-10-14 18:07 ` Helge Deller
0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2022-10-13 22:19 UTC (permalink / raw)
To: James E . J . Bottomley, Helge Deller, linux-parisc
Cc: kernel-janitors, linux-kernel
There are several spelling mistakes in kernel error messages. Fix them.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
drivers/parisc/eisa_enumerator.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/parisc/eisa_enumerator.c b/drivers/parisc/eisa_enumerator.c
index f54a6f450391..f0cb31198a8f 100644
--- a/drivers/parisc/eisa_enumerator.c
+++ b/drivers/parisc/eisa_enumerator.c
@@ -393,7 +393,7 @@ static int parse_slot_config(int slot,
}
if (p0 + function_len < pos) {
- printk(KERN_ERR "eisa_enumerator: function %d length mis-match "
+ printk(KERN_ERR "eisa_enumerator: function %d length mismatch "
"got %d, expected %d\n",
num_func, pos-p0, function_len);
res=-1;
@@ -407,13 +407,13 @@ static int parse_slot_config(int slot,
}
if (pos != es->config_data_length) {
- printk(KERN_ERR "eisa_enumerator: config data length mis-match got %d, expected %d\n",
+ printk(KERN_ERR "eisa_enumerator: config data length mismatch got %d, expected %d\n",
pos, es->config_data_length);
res=-1;
}
if (num_func != es->num_functions) {
- printk(KERN_ERR "eisa_enumerator: number of functions mis-match got %d, expected %d\n",
+ printk(KERN_ERR "eisa_enumerator: number of functions mismatch got %d, expected %d\n",
num_func, es->num_functions);
res=-2;
}
@@ -451,7 +451,7 @@ static int init_slot(int slot, struct eeprom_eisa_slot_info *es)
}
if (es->eisa_slot_id != id) {
print_eisa_id(id_string, id);
- printk(KERN_ERR "EISA slot %d id mis-match: got %s",
+ printk(KERN_ERR "EISA slot %d id mismatch: got %s",
slot, id_string);
print_eisa_id(id_string, es->eisa_slot_id);
--
2.37.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] parisc: Fix spelling mistake "mis-match" -> "mismatch"
2022-10-13 22:19 [PATCH] parisc: Fix spelling mistake "mis-match" -> "mismatch" Colin Ian King
@ 2022-10-14 18:07 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2022-10-14 18:07 UTC (permalink / raw)
To: Colin Ian King, James E . J . Bottomley, linux-parisc
Cc: kernel-janitors, linux-kernel
On 10/14/22 00:19, Colin Ian King wrote:
> There are several spelling mistakes in kernel error messages. Fix them.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
applied to parisc tree.
Thanks!
Helge
> ---
> drivers/parisc/eisa_enumerator.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/parisc/eisa_enumerator.c b/drivers/parisc/eisa_enumerator.c
> index f54a6f450391..f0cb31198a8f 100644
> --- a/drivers/parisc/eisa_enumerator.c
> +++ b/drivers/parisc/eisa_enumerator.c
> @@ -393,7 +393,7 @@ static int parse_slot_config(int slot,
> }
>
> if (p0 + function_len < pos) {
> - printk(KERN_ERR "eisa_enumerator: function %d length mis-match "
> + printk(KERN_ERR "eisa_enumerator: function %d length mismatch "
> "got %d, expected %d\n",
> num_func, pos-p0, function_len);
> res=-1;
> @@ -407,13 +407,13 @@ static int parse_slot_config(int slot,
> }
>
> if (pos != es->config_data_length) {
> - printk(KERN_ERR "eisa_enumerator: config data length mis-match got %d, expected %d\n",
> + printk(KERN_ERR "eisa_enumerator: config data length mismatch got %d, expected %d\n",
> pos, es->config_data_length);
> res=-1;
> }
>
> if (num_func != es->num_functions) {
> - printk(KERN_ERR "eisa_enumerator: number of functions mis-match got %d, expected %d\n",
> + printk(KERN_ERR "eisa_enumerator: number of functions mismatch got %d, expected %d\n",
> num_func, es->num_functions);
> res=-2;
> }
> @@ -451,7 +451,7 @@ static int init_slot(int slot, struct eeprom_eisa_slot_info *es)
> }
> if (es->eisa_slot_id != id) {
> print_eisa_id(id_string, id);
> - printk(KERN_ERR "EISA slot %d id mis-match: got %s",
> + printk(KERN_ERR "EISA slot %d id mismatch: got %s",
> slot, id_string);
>
> print_eisa_id(id_string, es->eisa_slot_id);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-14 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-13 22:19 [PATCH] parisc: Fix spelling mistake "mis-match" -> "mismatch" Colin Ian King
2022-10-14 18:07 ` Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®