[PATCH 09/31] scripts/spelling.txt: add "efective" pattern and fix typo instances

From: Masahiro Yamada
Date: Mon Dec 12 2016 - 15:15:39 EST


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

efective||effective

While we are here, fix the "addres" as well in the touched line in
arch/openrisc/kernel/entry.S.

Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---

arch/m68k/ifpsp060/src/isp.S | 2 +-
arch/openrisc/kernel/entry.S | 2 +-
scripts/spelling.txt | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/m68k/ifpsp060/src/isp.S b/arch/m68k/ifpsp060/src/isp.S
index 6dccda7..b865c1a 100644
--- a/arch/m68k/ifpsp060/src/isp.S
+++ b/arch/m68k/ifpsp060/src/isp.S
@@ -3814,7 +3814,7 @@ CAS2W2_FILLER:
# (3) Save current DFC/SFC (ASSUMED TO BE EQUAL!!!); Then set #
# SFC/DFC according to whether exception occurred in user or #
# supervisor mode. #
-# (4) Use "plpaw" instruction to pre-load ATC with efective #
+# (4) Use "plpaw" instruction to pre-load ATC with effective #
# address page(s). THIS SHOULD NOT FAULT!!! The relevant #
# page(s) should have been made resident prior to entering #
# this routine. #
diff --git a/arch/openrisc/kernel/entry.S b/arch/openrisc/kernel/entry.S
index ae61921..3aa6b74 100644
--- a/arch/openrisc/kernel/entry.S
+++ b/arch/openrisc/kernel/entry.S
@@ -322,7 +322,7 @@ EXCEPTION_ENTRY(_alignment_handler)

#if 0
EXCEPTION_ENTRY(_alignment_handler)
-// l.mfspr r2,r0,SPR_EEAR_BASE /* Load the efective addres */
+// l.mfspr r2,r0,SPR_EEAR_BASE /* Load the effective address */
l.addi r2,r4,0
// l.mfspr r5,r0,SPR_EPCR_BASE /* Load the insn address */
l.lwz r5,PT_PC(r1)
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 462e99f..6230094 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -375,6 +375,7 @@ easilly||easily
ecspecially||especially
edditable||editable
editting||editing
+efective||effective
efficently||efficiently
ehther||ether
eigth||eight
--
2.7.4