Fix typos and add the following to the scripts/spelling.txt:

  overwritting||overwriting

Signed-off-by: Masahiro Yamada <[email protected]>
---

 arch/arm64/lib/copy_template.S             | 2 +-
 drivers/net/ethernet/adi/bfin_mac.c        | 2 +-
 drivers/net/ethernet/intel/igb/e1000_phy.c | 2 +-
 drivers/scsi/mpt3sas/mpt3sas_ctl.c         | 2 +-
 drivers/scsi/mpt3sas/mpt3sas_ctl.h         | 2 +-
 drivers/usb/usbip/usbip_common.c           | 2 +-
 scripts/spelling.txt                       | 1 +
 7 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/lib/copy_template.S b/arch/arm64/lib/copy_template.S
index 410fbdb..f5b9210 100644
--- a/arch/arm64/lib/copy_template.S
+++ b/arch/arm64/lib/copy_template.S
@@ -62,7 +62,7 @@ D_h   .req    x14
        sub     count, count, tmp2
        /*
        * Copy the leading memory data from src to dst in an increasing
-       * address order.By this way,the risk of overwritting the source
+       * address order.By this way,the risk of overwriting the source
        * memory data is eliminated when the distance between src and
        * dst is less than 16. The memory accesses here are alignment.
        */
diff --git a/drivers/net/ethernet/adi/bfin_mac.c 
b/drivers/net/ethernet/adi/bfin_mac.c
index 8816452..34e42407 100644
--- a/drivers/net/ethernet/adi/bfin_mac.c
+++ b/drivers/net/ethernet/adi/bfin_mac.c
@@ -1206,7 +1206,7 @@ static void bfin_mac_rx(struct bfin_mac_local *lp)
        /* reserve 2 bytes for RXDWA padding */
        skb_reserve(new_skb, NET_IP_ALIGN);
        /* Invalidate the data cache of skb->data range when it is write back
-        * cache. It will prevent overwritting the new data from DMA
+        * cache. It will prevent overwriting the new data from DMA
         */
        blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
                                         (unsigned long)new_skb->end);
diff --git a/drivers/net/ethernet/intel/igb/e1000_phy.c 
b/drivers/net/ethernet/intel/igb/e1000_phy.c
index 5b54254..26c0041 100644
--- a/drivers/net/ethernet/intel/igb/e1000_phy.c
+++ b/drivers/net/ethernet/intel/igb/e1000_phy.c
@@ -290,7 +290,7 @@ s32 igb_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, 
u16 data)
        u32 i, i2ccmd = 0;
        u16 phy_data_swapped;
 
-       /* Prevent overwritting SFP I2C EEPROM which is at A0 address.*/
+       /* Prevent overwriting SFP I2C EEPROM which is at A0 address.*/
        if ((hw->phy.addr == 0) || (hw->phy.addr > 7)) {
                hw_dbg("PHY I2C Address %d is out of range.\n",
                          hw->phy.addr);
diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.c 
b/drivers/scsi/mpt3sas/mpt3sas_ctl.c
index 050bd78..7dc1172 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_ctl.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.c
@@ -1923,7 +1923,7 @@ mpt3sas_send_diag_release(struct MPT3SAS_ADAPTER *ioc, u8 
buffer_type,
  *
  * This allows ownership of the specified buffer to returned to the driver,
  * allowing an application to read the buffer without fear that firmware is
- * overwritting information in the buffer.
+ * overwriting information in the buffer.
  */
 static long
 _ctl_diag_release(struct MPT3SAS_ADAPTER *ioc, void __user *arg)
diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h 
b/drivers/scsi/mpt3sas/mpt3sas_ctl.h
index f3e17a8..a44046c 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_ctl.h
+++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.h
@@ -390,7 +390,7 @@ struct mpt3_diag_query {
  *
  * This allows ownership of the specified buffer to returned to the driver,
  * allowing an application to read the buffer without fear that firmware is
- * overwritting information in the buffer.
+ * overwriting information in the buffer.
  */
 struct mpt3_diag_release {
        struct mpt3_ioctl_header hdr;
diff --git a/drivers/usb/usbip/usbip_common.c b/drivers/usb/usbip/usbip_common.c
index 8b23229..1a6f78d 100644
--- a/drivers/usb/usbip/usbip_common.c
+++ b/drivers/usb/usbip/usbip_common.c
@@ -707,7 +707,7 @@ void usbip_pad_iso(struct usbip_device *ud, struct urb *urb)
                return;
 
        /*
-        * loop over all packets from last to first (to prevent overwritting
+        * loop over all packets from last to first (to prevent overwriting
         * memory when padding) and move them into the proper place
         */
        for (i = np-1; i > 0; i--) {
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index c639876..ae32639 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -719,6 +719,7 @@ overide||override
 overrided||overridden
 overriden||overridden
 overun||overrun
+overwritting||overwriting
 pacakge||package
 pachage||package
 packacge||package
-- 
2.7.4

Reply via email to