Re: [PATCH] arch: x86: kernel: Mundane spelling fixes throughout the file apm_32.c

Bhaskar Chowdhury
2021-02-04T00:09:53Z

[-- Attachment #1: Type: text/plain, Size: 1206 bytes --]

On 08:49 Wed 03 Feb 2021, Randy Dunlap wrote:
>On 2/3/21 6:48 AM, Bhaskar Chowdhury wrote:
>>
>> s/messges/messages/
>> s/powermanagement/power management/
>> s/secodnds/seconds/
>> s/powerdown/poer down/
>>
>> Capitalize and truncate space in start of the sentence.
>>
>> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
>> ---
>> arch/x86/kernel/apm_32.c | 10 +++++-----
>> 1 file changed, 5 insertions(+), 5 deletions(-)
>>
>> diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c
>> index 660270359d39..04204e01ff7c 100644
>> --- a/arch/x86/kernel/apm_32.c
>> +++ b/arch/x86/kernel/apm_32.c
>> @@ -2366,7 +2366,7 @@ static int __init apm_init(void)
>> /*
>> * Note we don't actually care if the misc_device cannot be registered.
>> * this driver can do its job without it, even if userspace can't
>> - * control it. just log the error
>> + * control it.Just log the error
>
>missing space and period:
>
> * control it. Just log the error.
>
>The rest of the changes look good.
>

My bad...thank you Randy!
>Thanks.
>
>> */
>> if (misc_register(&apm_device))
>> printk(KERN_WARNING "apm: Could not register misc device.\n");
>> --
>> 2.26.2
>>
>
>
>--
>~Randy
>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]