summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Vidic <vvidic@valentin-vidic.from.hr>2019-09-03 18:54:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-03 22:07:06 +0200
commitab050766f94271211fed72e505a378de00217ee1 (patch)
treeba36fc9a9fa089f535843d14e83ad9934f7f313d
parenta70cfd89dc9ac0f5981741812dc5eaab53356846 (diff)
staging: exfat: fix spelling errors in comments
Fixes checkpatch.pl warnings: CHECK: 'consistancy' may be misspelled - perhaps 'consistency'? CHECK: 'stuct' may be misspelled - perhaps 'struct'? Signed-off-by: Valentin Vidic <vvidic@valentin-vidic.from.hr> Link: https://lore.kernel.org/r/20190903165408.16010-1-vvidic@valentin-vidic.from.hr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/exfat/exfat_core.c2
-rw-r--r--drivers/staging/exfat/exfat_super.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/exfat/exfat_core.c b/drivers/staging/exfat/exfat_core.c
index 1246afcffb8d..73b9991c272a 100644
--- a/drivers/staging/exfat/exfat_core.c
+++ b/drivers/staging/exfat/exfat_core.c
@@ -1754,7 +1754,7 @@ struct entry_set_cache_t *get_entry_set_in_dir(struct super_block *sb,
while (num_entries) {
/*
* instead of copying whole sector, we will check every entry.
- * this will provide minimum stablity and consistancy.
+ * this will provide minimum stablity and consistency.
*/
entry_type = p_fs->fs_func->get_entry_type(ep);
diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index e44b860e35e8..359c749278cb 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -482,7 +482,7 @@ static int ffsMountVol(struct super_block *sb)
goto out;
}
- /* fill fs_stuct */
+ /* fill fs_struct */
for (i = 0; i < 53; i++)
if (p_pbr->bpb[i])
break;