2012-06-23 22:55:16

by Anatol Pomozov

[permalink] [raw]
Subject: [PATCH] Fix typo in printed messages

Thsi is a trivial patch that fixes a few typos. Kernel builds and boots fine (x86).
Chance that it breaks anything is extremelly small.


2012-06-23 22:56:39

by Anatol Pomozov

[permalink] [raw]
Subject: [PATCH] Fix typo in printed messages

Coult -> Could
---
arch/sparc/kernel/vio.c | 2 +-
drivers/net/wireless/b43/main.c | 2 +-
drivers/net/wireless/b43legacy/main.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/sparc/kernel/vio.c b/arch/sparc/kernel/vio.c
index 5cffdc5..3e244f3 100644
--- a/arch/sparc/kernel/vio.c
+++ b/arch/sparc/kernel/vio.c
@@ -443,7 +443,7 @@ static int __init vio_init(void)
root_vdev = vio_create_one(hp, root, NULL);
err = -ENODEV;
if (!root_vdev) {
- printk(KERN_ERR "VIO: Coult not create root device.\n");
+ printk(KERN_ERR "VIO: Could not create root device.\n");
goto out_release;
}

diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index acd03a4..1b988f2 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -3767,7 +3767,7 @@ static int b43_switch_band(struct b43_wl *wl, struct ieee80211_channel *chan)
if (prev_status >= B43_STAT_STARTED) {
err = b43_wireless_core_start(up_dev);
if (err) {
- b43err(wl, "Fatal: Coult not start device for "
+ b43err(wl, "Fatal: Could not start device for "
"selected %s-GHz band\n",
band_to_string(chan->band));
b43_wireless_core_exit(up_dev);
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c
index cd9c9bc..eae691e 100644
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
@@ -2633,7 +2633,7 @@ static int b43legacy_switch_phymode(struct b43legacy_wl *wl,
if (prev_status >= B43legacy_STAT_STARTED) {
err = b43legacy_wireless_core_start(up_dev);
if (err) {
- b43legacyerr(wl, "Fatal: Coult not start device for "
+ b43legacyerr(wl, "Fatal: Could not start device for "
"newly selected %s-PHY mode\n",
phymode_to_string(new_mode));
b43legacy_wireless_core_exit(up_dev);
--
1.7.9.5

2012-06-24 13:09:36

by Jimmy Pan

[permalink] [raw]
Subject: Re: [PATCH] Fix typo in printed messages

On Sun, Jun 24, 2012 at 6:54 AM, Anatol Pomozov
<[email protected]> wrote:
> Coult -> Could
> ---
>  arch/sparc/kernel/vio.c               |    2 +-
>  drivers/net/wireless/b43/main.c       |    2 +-
>  drivers/net/wireless/b43legacy/main.c |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/sparc/kernel/vio.c b/arch/sparc/kernel/vio.c
> index 5cffdc5..3e244f3 100644
> --- a/arch/sparc/kernel/vio.c
> +++ b/arch/sparc/kernel/vio.c
> @@ -443,7 +443,7 @@ static int __init vio_init(void)
>        root_vdev = vio_create_one(hp, root, NULL);
>        err = -ENODEV;
>        if (!root_vdev) {
> -               printk(KERN_ERR "VIO: Coult not create root device.\n");
> +               printk(KERN_ERR "VIO: Could not create root device.\n");
>                goto out_release;
>        }
>
> diff --git a/drivers/net/wireless/b43/main.c
> b/drivers/net/wireless/b43/main.c
> index acd03a4..1b988f2 100644
> --- a/drivers/net/wireless/b43/main.c
> +++ b/drivers/net/wireless/b43/main.c
> @@ -3767,7 +3767,7 @@ static int b43_switch_band(struct b43_wl *wl, struct
> ieee80211_channel *chan)
>        if (prev_status >= B43_STAT_STARTED) {
>                err = b43_wireless_core_start(up_dev);
>                if (err) {
> -                       b43err(wl, "Fatal: Coult not start device for "
> +                       b43err(wl, "Fatal: Could not start device for "
>                               "selected %s-GHz band\n",
>                               band_to_string(chan->band));
>                        b43_wireless_core_exit(up_dev);
> diff --git a/drivers/net/wireless/b43legacy/main.c
> b/drivers/net/wireless/b43legacy/main.c
> index cd9c9bc..eae691e 100644
> --- a/drivers/net/wireless/b43legacy/main.c
> +++ b/drivers/net/wireless/b43legacy/main.c
> @@ -2633,7 +2633,7 @@ static int b43legacy_switch_phymode(struct
> b43legacy_wl *wl,
>        if (prev_status >= B43legacy_STAT_STARTED) {
>                err = b43legacy_wireless_core_start(up_dev);
>                if (err) {
> -                       b43legacyerr(wl, "Fatal: Coult not start device
> for "
> +                       b43legacyerr(wl, "Fatal: Could not start device
> for "
>                               "newly selected %s-PHY mode\n",
>                               phymode_to_string(new_mode));
>                        b43legacy_wireless_core_exit(up_dev);
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


With no offense, I am a newbie too. I wonder if we need such kind of refinement.

2012-06-24 15:44:53

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] Fix typo in printed messages

On 06/24/2012 06:09 AM, Jimmy Pan wrote:

> On Sun, Jun 24, 2012 at 6:54 AM, Anatol Pomozov
> <[email protected]> wrote:
>> Coult -> Could
>> ---
>> arch/sparc/kernel/vio.c | 2 +-
>> drivers/net/wireless/b43/main.c | 2 +-
>> drivers/net/wireless/b43legacy/main.c | 2 +-
>> 3 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/arch/sparc/kernel/vio.c b/arch/sparc/kernel/vio.c
>> index 5cffdc5..3e244f3 100644
>> --- a/arch/sparc/kernel/vio.c
>> +++ b/arch/sparc/kernel/vio.c
>> @@ -443,7 +443,7 @@ static int __init vio_init(void)
>> root_vdev = vio_create_one(hp, root, NULL);
>> err = -ENODEV;
>> if (!root_vdev) {
>> - printk(KERN_ERR "VIO: Coult not create root device.\n");
>> + printk(KERN_ERR "VIO: Could not create root device.\n");
>> goto out_release;
>> }
>>
>> diff --git a/drivers/net/wireless/b43/main.c
>> b/drivers/net/wireless/b43/main.c
>> index acd03a4..1b988f2 100644
>> --- a/drivers/net/wireless/b43/main.c
>> +++ b/drivers/net/wireless/b43/main.c
>> @@ -3767,7 +3767,7 @@ static int b43_switch_band(struct b43_wl *wl, struct
>> ieee80211_channel *chan)
>> if (prev_status >= B43_STAT_STARTED) {
>> err = b43_wireless_core_start(up_dev);
>> if (err) {
>> - b43err(wl, "Fatal: Coult not start device for "
>> + b43err(wl, "Fatal: Could not start device for "
>> "selected %s-GHz band\n",
>> band_to_string(chan->band));
>> b43_wireless_core_exit(up_dev);
>> diff --git a/drivers/net/wireless/b43legacy/main.c
>> b/drivers/net/wireless/b43legacy/main.c
>> index cd9c9bc..eae691e 100644
>> --- a/drivers/net/wireless/b43legacy/main.c
>> +++ b/drivers/net/wireless/b43legacy/main.c
>> @@ -2633,7 +2633,7 @@ static int b43legacy_switch_phymode(struct
>> b43legacy_wl *wl,
>> if (prev_status >= B43legacy_STAT_STARTED) {
>> err = b43legacy_wireless_core_start(up_dev);
>> if (err) {
>> - b43legacyerr(wl, "Fatal: Coult not start device
>> for "
>> + b43legacyerr(wl, "Fatal: Could not start device
>> for "
>> "newly selected %s-PHY mode\n",
>> phymode_to_string(new_mode));
>> b43legacy_wireless_core_exit(up_dev);
>> --
>
>
> With no offense, I am a newbie too. I wonder if we need such kind of refinement.
> --


Yes, spelling mistakes in user-visible messages should be fixed.


--
~Randy