mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Justin P. Mattock" <justinmattock@gmail.com>
To: Joe Perches <joe@perches.com>
Cc: trivial@kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH]trivial: Remove one to many r's in some comments.
Date: Tue, 08 Mar 2011 10:33:04 -0800	[thread overview]
Message-ID: <4D767660.9030509@gmail.com> (raw)
In-Reply-To: <1299528921.20104.54.camel@Joe-Laptop>

On 03/07/2011 12:15 PM, Joe Perches wrote:
> On Mon, 2011-03-07 at 11:45 -0800, Justin P. Mattock wrote:
>> The below patch fixes some typos with one to many "rr's" in a comment.
>> PLease have a look and let me know if I missed anything.
>> --- a/arch/arm/mach-omap2/smartreflex.c
>> +++ b/arch/arm/mach-omap2/smartreflex.c
>> @@ -246,7 +246,7 @@ static void sr_stop_vddautocomp(struct omap_sr *sr)
>>    * driver register and sr device intializtion API's. Only one call
>>    * will ultimately succeed.
>>    *
>> - * Currenly this function registers interrrupt handler for a particular SR
>> + * Currenly this function registers interrupt handler for a particular SR
>
> When you do typo fixes, it'd be good to check the lines
> modified to make sure there are no other typos on the
> same or nearby lines.
>
> s/intializtion/initialization/
> s/Currenly/Currently/
>
>

again I missed this(hard of hearing/reading) will resend, hopefully 
correct this time.

>> diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c
>> index 1758d44..1473476 100644
>> --- a/drivers/net/wireless/rtlwifi/pci.c
>> +++ b/drivers/net/wireless/rtlwifi/pci.c
>> @@ -1506,7 +1506,7 @@ void rtl_pci_stop(struct ieee80211_hw *hw)
>>   	u8 RFInProgressTimeOut = 0;
>>
>>   	/*
>> -	 *should before disable interrrupt&adapter
>> +	 *should before disable interrupt&adapter
>
> Bad grammar?  Stop HAL before disabling interrupt and adapter?
>

not sure if HAL is involved with this or not, if anybody objects to the 
above then I will change if not I will resend with the above.

>> diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
>> index 2fe3046..c5d03e0 100644
>> --- a/drivers/usb/musb/musb_gadget.c
>> +++ b/drivers/usb/musb/musb_gadget.c
>> @@ -699,7 +699,7 @@ static void rxstate(struct musb *musb, struct musb_request *req)
>>   	 * most these gadgets, end of is signified either by a short packet,
>>   	 * or filling the last byte of the buffer.  (Sending extra data in
>>   	 * that last pckate should trigger an overflow fault.)  But in mode 1,
>
> s/pckate/packet/
>
>> diff --git a/include/linux/pxa2xx_ssp.h b/include/linux/pxa2xx_ssp.h
>> index 2f691e4..d2d4fb6 100644
>> --- a/include/linux/pxa2xx_ssp.h
>> +++ b/include/linux/pxa2xx_ssp.h
>> @@ -56,7 +56,7 @@
>>   /* PXA27x, PXA3xx */
>>   #define SSCR0_EDSS	(1<<  20)	/* Extended data size select */
>>   #define SSCR0_NCS	(1<<  21)	/* Network clock select */
>> -#define SSCR0_RIM	(1<<  22)	/* Receive FIFO overrrun interrupt mask */
>> +#define SSCR0_RIM	(1<<  22)	/* Receive FIFO overrun interupt mask */
>
> Fix one, introduce one.  Dangers of s/rr/r/
>
> overrun interrupt.
>
>
>
>


yeah.

Cool, Thanks for looking through..

Justin P. Mattock

      reply	other threads:[~2011-03-08 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07 19:45 Justin P. Mattock
2011-03-07 20:15 ` Joe Perches
2011-03-08 18:33   ` Justin P. Mattock [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D767660.9030509@gmail.com \
    --to=justinmattock@gmail.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome