[PATCH 14/31] scripts/spelling.txt: add "unneded" pattern and fix typo instances
From: Masahiro Yamada
Date: Mon Dec 12 2016 - 15:14:54 EST
Fix typos and add the following to the scripts/spelling.txt:
unneded||unneeded
Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---
fs/ocfs2/dlm/dlmmaster.c | 2 +-
scripts/spelling.txt | 1 +
sound/soc/codecs/wm_hubs.c | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index ae05b93..9b41842 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -2946,7 +2946,7 @@ static int dlm_mark_lockres_migrating(struct dlm_ctxt *dlm,
/*
* if target is down, we need to clear DLM_LOCK_RES_BLOCK_DIRTY for
* another try; otherwise, we are sure the MIGRATING state is there,
- * drop the unneded state which blocked threads trying to DIRTY
+ * drop the unneeded state which blocked threads trying to DIRTY
*/
spin_lock(&res->spinlock);
BUG_ON(!(res->state & DLM_LOCK_RES_BLOCK_DIRTY));
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index ba0b81f..78196a5 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -1035,6 +1035,7 @@ unintialized||uninitialized
unknonw||unknown
unknow||unknown
unkown||unknown
+unneded||unneeded
unneedingly||unnecessarily
unresgister||unregister
unsinged||unsigned
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
index 624b3b9..63b2745 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -1269,7 +1269,7 @@ void wm_hubs_set_bias_level(struct snd_soc_codec *codec,
break;
case SND_SOC_BIAS_ON:
- /* Turn off any unneded single ended outputs */
+ /* Turn off any unneeded single ended outputs */
val = 0;
mask = 0;
--
2.7.4