trivial: Remove one to many r's in some comments.
Subsystems (15)
PATCH 1/1 trivial: Remove one to many r's in some comments.
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.
NOte: I am limited with my intranet connection so I will try to get this asap if anything needs to be resent.
--- arch/arm/mach-omap2/smartreflex.c | 2 +- arch/powerpc/platforms/embedded6xx/storcenter.c | 2 +- arch/sparc/kernel/smp_64.c | 2 +- drivers/ata/sata_dwc_460ex.c | 2 +- drivers/message/fusion/lsi/mpi_ioc.h | 2 +- drivers/net/arm/ks8695net.c | 2 +- drivers/net/atlx/atl1.c | 2 +- drivers/net/cs89x0.c | 2 +- drivers/net/qlge/qlge_main.c | 2 +- drivers/net/sky2.c | 2 +- drivers/net/wireless/rtlwifi/pci.c | 2 +- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 4 ++-- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 2 +- drivers/staging/sep/sep_driver.c | 2 +- drivers/staging/tidspbridge/Kconfig | 2 +- drivers/staging/tidspbridge/rmgr/dbdcd.c | 2 +- .../astoria/include/linux/westbridge/cyasstorage.h | 2 +- drivers/tty/serial/mrst_max3110.c | 2 +- drivers/usb/gadget/langwell_udc.c | 2 +- drivers/usb/musb/musb_gadget.c | 2 +- include/linux/pxa2xx_ssp.h | 2 +- net/ipv4/ip_fragment.c | 2 +- 22 files changed, 23 insertions(+), 23 deletions(-)
arch/arm/mach-omap2/smartreflex.c +1 -1
@@ -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 * if smartreflex class driver is already registered and has * requested for interrupts and the SR interrupt line in present. */
arch/powerpc/platforms/embedded6xx/storcenter.c +1 -1
@@ -77,7 +77,7 @@ static void __init storcenter_setup_arch(void) }/* -* Interrupt setup and service. Interrrupts on the turbostation come +* Interrupt setup and service. Interrupts on the turbostation come * from the four PCI slots plus onboard 8241 devices: I2C, DUART. */ static void __init storcenter_init_IRQ (void )
arch/sparc/kernel/smp_64.c +1 -1
@@ -842,7 +842,7 @@ static void tsb_sync(void *info)struct trap_per_cpu *tp = &trap_block[raw_smp_processor_id ()];struct mm_struct *mm = info; -/* It is not valid to test "currrent->active_mm == mm" here. +/* It is not valid to test "current->active_mm == mm" here. * * The value of "current" is not changed atomically with * switch_mm(). But that's OK, we just need to check the
drivers/ata/sata_dwc_460ex.c +1 -1
@@ -350,7 +350,7 @@ static void sata_dwc_tf_dump(struct ata_taskfile *tf)/* * Function: get_burst_length_encode * arguments: datalength: length in bytes of data -* returns value to be programmed in register corrresponding to data length +* returns value to be programmed in register corresponding to data length * This value is effectively the log(base 2) of the length */ static int get_burst_length_encode (int datalength)
drivers/message/fusion/lsi/mpi_ioc.h +1 -1
@@ -856,7 +856,7 @@ typedef struct _EVENT_DATA_SAS_DISCOVERY#define MPI_EVENT_SAS_DSCVRY_PHY_BITS_MASK (0xFFFF0000)#define MPI_EVENT_SAS_DSCVRY_PHY_BITS_SHIFT (16) -/* SAS Discovery Errror Event data */ +/* SAS Discovery Error Event data */ typedef struct _EVENT_DATA_DISCOVERY_ERROR {
drivers/net/arm/ks8695net.c +1 -1
@@ -412,7 +412,7 @@ ks8695_tx_irq(int irq, void *dev_id)* Interrupt Status Register (Offset 0xF208) * Bit29: WAN MAC Receive Status * Bit16: LAN MAC Receive Status -* So, this Rx interrrupt enable/status bit number is equal +* So, this Rx interrupt enable/status bit number is equal * as Rx IRQ number. */ static inline u32 ks8695_get_rx_enable_bit (struct ks8695_priv *ksp)
drivers/net/atlx/atl1.c +1 -1
@@ -857,7 +857,7 @@ static s32 atl1_init_hw(struct atl1_hw *hw)atl1_init_flash_opcode (hw);if (!hw->phy_configured) { -/* enable GPHY LinkChange Interrrupt */ +/* enable GPHY LinkChange Interrupt */ ret_val =atl1_write_phy_reg (hw,18 ,0xC00 );if (ret_val)return ret_val;
drivers/net/cs89x0.c +1 -1
@@ -1330,7 +1330,7 @@ release_irq:if (result==DETECTED_NONE ) {printk (KERN_WARNING "%s: 10Base-5 (AUI) has no cable\n" , dev->name);if (lp->auto_neg_cnf &IMM_BIT )/* check "ignore missing media" bit */ - result =DETECTED_AUI ;/* Yes! I don't care if I see a carrrier */ + result =DETECTED_AUI ;/* Yes! I don't care if I see a carrier */ }break ;case A_CNF_MEDIA_10B_2 :
drivers/net/qlge/qlge_main.c +1 -1
@@ -2086,7 +2086,7 @@ static unsigned long ql_process_mac_rx_intr(struct ql_adapter *qdev, length, vlan_id); }else {/* Non-TCP/UDP large frames that span multiple buffers -* can be processed corrrectly by the split frame logic. +* can be processed correctly by the split frame logic. */ ql_process_mac_split_rx_intr (qdev, rx_ring, ib_mac_rsp, vlan_id);
drivers/net/sky2.c +1 -1
@@ -1972,7 +1972,7 @@ static void sky2_hw_down(struct sky2_port *sky2)sky2_write8 (hw,SK_REG (port,RX_GMF_CTRL_T ),GMF_RST_SET ); -/* Force any delayed status interrrupt and NAPI */ +/* Force any delayed status interrupt and NAPI */ sky2_write32 (hw,STAT_LEV_TIMER_CNT ,0 );sky2_write32 (hw,STAT_TX_TIMER_CNT ,0 );sky2_write32 (hw,STAT_ISR_TIMER_CNT ,0 );
drivers/net/wireless/rtlwifi/pci.c +1 -1
@@ -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 *and will do it immediately. */ set_hal_stop (rtlhal);
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c +2 -2
@@ -386,10 +386,10 @@ static void ft1000_reset_asic(struct net_device *dev) }mdelay (1 );if (info->AsicID ==ELECTRABUZZ_ID ) { -// set watermark to -1 in order to not generate an interrrupt +// set watermark to -1 in order to not generate an interrupt ft1000_write_reg (dev,FT1000_REG_WATERMARK ,0xffff ); }else { -// set watermark to -1 in order to not generate an interrrupt +// set watermark to -1 in order to not generate an interrupt ft1000_write_reg (dev,FT1000_REG_MAG_WATERMARK ,0xffff ); }// clear interrupts
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c +1 -1
@@ -663,7 +663,7 @@ static void ft1000_reset_asic (struct net_device *dev)mdelay (1 ); -// set watermark to -1 in order to not generate an interrrupt +// set watermark to -1 in order to not generate an interrupt ft1000_write_register (ft1000dev,0xffff ,FT1000_REG_MAG_WATERMARK );// clear interrupts
drivers/staging/sep/sep_driver.c +1 -1
@@ -1427,7 +1427,7 @@ static void sep_build_lli_table(struct sep_device *sep,dev_dbg (&sep->pdev->dev,"sep_build_lli_table start\n" ); -/* Init currrent table data size and lli array entry counter */ +/* Init current table data size and lli array entry counter */ curr_table_data_size =0 ; array_counter =0 ; *num_table_entries_ptr =1 ;
drivers/staging/tidspbridge/Kconfig +1 -1
@@ -78,7 +78,7 @@ config TIDSPBRIDGE_NTFY_PWRERR bool "Notify power errors" depends on TIDSPBRIDGE help - Enable notifications to registered clients on the event of power errror + Enable notifications to registered clients on the event of power error trying to suspend bridge driver. Say Y, to signal this event as a fatal error, this will require a bridge restart to recover.
drivers/staging/tidspbridge/rmgr/dbdcd.c +1 -1
@@ -285,7 +285,7 @@ int dcd_enumerate_object(s32 index, enum dsp_dcdobjtype obj_type, enum_refs =0 ;/* -* TODO: Revisit, this is not an errror case but code +* TODO: Revisit, this is not an error case but code * expects non-zero value. */ status =ENODATA ;
drivers/staging/westbridge/astoria/include/linux/westbridge/cyasstorage.h +1 -1
@@ -297,7 +297,7 @@ typedef enum cy_as_storage_event { cy_as_storage_inserted,/* This event occurs when the West Bridge device -* percieves an interrrupt from an SDIO card */ +* percieves an interrupt from an SDIO card */ cy_as_sdio_interrupt } cy_as_storage_event;
drivers/tty/serial/mrst_max3110.c +1 -1
@@ -23,7 +23,7 @@* 1 word. If SPI master controller doesn't support sclk frequency change, * then the char need be sent out one by one with some delay * -* 2. Currently only RX availabe interrrupt is used, no need for waiting TXE +* 2. Currently only RX availabe interrupt is used, no need for waiting TXE * interrupt for a low speed UART device */
drivers/usb/gadget/langwell_udc.c +1 -1
@@ -2968,7 +2968,7 @@ static irqreturn_t langwell_irq(int irq, void *_dev)handle_port_change (dev); } -/* suspend interrrupt */ +/* suspend interrupt */ if (irq_sts &STS_SLI ) {dev_vdbg (&dev->pdev->dev,"suspend interrupt\n" );handle_bus_suspend (dev);
drivers/usb/musb/musb_gadget.c +1 -1
@@ -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, -* we don't get DMA completion interrrupt for short packets. +* we don't get DMA completion interrupt for short packets. * * Theoretically, we could enable DMAReq irq (MUSB_RXCSR_DMAMODE = 1), * to get endpoint interrupt on every DMA req, but that didn't seem
include/linux/pxa2xx_ssp.h +1 -1
@@ -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 */ #define SSCR0_TUM (1 << 23)/* Transmit FIFO underrun interrupt mask */ #define SSCR0_FRDC (0x07000000)/* Frame rate divider control (mask) */ #define SSCR0_SlotsPerFrm (x) (((x) - 1) << 24)/* Time slots per frame [1..8] */
net/ipv4/ip_fragment.c +1 -1
@@ -374,7 +374,7 @@ static int ip_frag_queue(struct ipq *qp, struct sk_buff *skb)/* Is this the final fragment? */ if ((flags &IP_MF ) ==0 ) {/* If we already have some bits beyond end -* or have different end, the segment is corrrupted. +* or have different end, the segment is corrupted. */ if (end < qp->q.len || ((qp->q.last_in &INET_FRAG_LAST_IN ) && end != qp->q.len))
Signature · 1 line
1.7.4.1
arch/arm/mach-omap2/smartreflex.c static void sr_stop_vddautocomp(struct omap_sr *sr) · line 249
Quoted 10 lines · Justin P. Mattock
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.
arch/arm/mach-omap2/smartreflex.c +1
-1@@ -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/
drivers/net/wireless/rtlwifi/pci.c void rtl_pci_stop(struct ieee80211_hw *hw) · line 1509
Quoted 10 lines
drivers/net/wireless/rtlwifi/pci.c +1
-1@@ -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?
drivers/usb/musb/musb_gadget.c static void rxstate(struct musb *musb, struct musb_request *req) · line 701
Quoted 8 lines
drivers/usb/musb/musb_gadget.c +0
-0@@ -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/
include/linux/pxa2xx_ssp.h line 59
Quoted 10 lines
include/linux/pxa2xx_ssp.h +1
-1@@ -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.
Quoted 16 lines · Joe Perches
arch/arm/mach-omap2/smartreflex.c static void sr_stop_vddautocomp(struct omap_sr *sr) · line 249
Quoted 10 lines · Justin P. Mattock
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.
arch/arm/mach-omap2/smartreflex.c +1
-1@@ -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.
Quoted 4 lines
s/intializtion/initialization/
s/Currenly/Currently/
again I missed this(hard of hearing/reading) will resend, hopefully correct this time.
Quoted 7 lines
Quoted 7 lines
drivers/net/wireless/rtlwifi/pci.c +0
-0@@ -1506,7 +1506,7 @@ void rtl_pci_stop(struct ieee80211_hw *hw)u8 RFInProgressTimeOut =0 ;
Quoted 6 lines
drivers/net/wireless/rtlwifi/pci.c void rtl_pci_stop(struct ieee80211_hw *hw) · line 1509
Quoted 3 lines
drivers/net/wireless/rtlwifi/pci.c +1
-1/* -*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.
Quoted 24 lines
drivers/usb/musb/musb_gadget.c static void rxstate(struct musb *musb, struct musb_request *req) · line 701
Quoted 8 lines
drivers/usb/musb/musb_gadget.c +0
-0@@ -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/
include/linux/pxa2xx_ssp.h line 59
Quoted 10 lines
include/linux/pxa2xx_ssp.h +1
-1@@ -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/
Quoted 5 lines
overrun interrupt.
yeah.
Cool, Thanks for looking through..
Justin P. Mattock