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

  initialiazation||initialization

While we are here, fix the "overriden" in the touched line in
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c.

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

 drivers/char/sonypi.c                            | 2 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 2 +-
 scripts/spelling.txt                             | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
index 719c5b4..31c8553 100644
--- a/drivers/char/sonypi.c
+++ b/drivers/char/sonypi.c
@@ -603,7 +603,7 @@ static void sonypi_type3_srs(void)
        u16 v16;
        u8  v8;
 
-       /* This model type uses the same initialiazation of
+       /* This model type uses the same initialization of
         * the embedded controller as the type2 models. */
        sonypi_type2_srs();
 
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 
b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
index 05356ef..b209b7f 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
@@ -6957,7 +6957,7 @@ int bnx2x_link_update(struct link_params *params, struct 
link_vars *vars)
                         * hence its link is expected to be down
                         * - SECOND_PHY means that first phy should not be able
                         * to link up by itself (using configuration)
-                        * - DEFAULT should be overriden during initialiazation
+                        * - DEFAULT should be overridden during initialization
                         */
                                DP(NETIF_MSG_LINK, "Invalid link indication"
                                           "mpc=0x%x. DISABLING LINK !!!\n",
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index c05dd94..8ebda27 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -534,6 +534,7 @@ initalise||initialize
 initalize||initialize
 initation||initiation
 initators||initiators
+initialiazation||initialization
 initializiation||initialization
 initialzed||initialized
 initilization||initialization
-- 
2.7.4

Reply via email to