Skip to contentSkip to conversation

EDAC/sb_edac: Fix typos

PATCH In review Andrew Kreimer 2 participants 2 messages Sep 9, 2024 – Sep 10, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 EDAC/sb_edac: Fix typos

Fix typos in comments.

---
 drivers/edac/sb_edac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/edac/sb_edac.c +2 -2
index d5f12219598a..d47f1240c738 100644
@@ -1797,7 +1797,7 @@ static void get_memory_layout(const struct mem_ctl_info *mci)
 	 * Step 2) Get SAD range and SAD Interleave list
 	 * TAD registers contain the interleave wayness. However, it
 	 * seems simpler to just discover it indirectly, with the
-	 * algorithm bellow.
+	 * algorithm below.
 	 */
 	prv = 0;
 	for (n_sads = 0; n_sads < pvt->info.max_sad; n_sads++) {
@@ -2055,7 +2055,7 @@ static int get_memory_error_data(struct mem_ctl_info *mci,
 
 	/*
 	 * Step 0) Check if the address is at special memory ranges
-	 * The check bellow is probably enough to fill all cases where
+	 * The check below is probably enough to fill all cases where
 	 * the error is not inside a memory, except for the legacy
 	 * range (e. g. VGA addresses). It is unlikely, however, that the
 	 * memory controller would generate an error on that range.
Signature · 1 line
2.46.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 36 lines

From: Andrew Kreimer <[email protected]>
[...]
Subject: [PATCH] EDAC/sb_edac: Fix typos

Fix typos in comments.

---
 drivers/edac/sb_edac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/edac/sb_edac.c index renamed from drivers/edac/sb_edac.c +0 -0

d5f12219598a..d47f1240c738 100644

drivers/edac/sb_edac.c +1 -1
@@ -1797,7 +1797,7 @@ static void get_memory_layout(const struct
 mem_ctl_info *mci)
 	 * Step 2) Get SAD range and SAD Interleave list
 	 * TAD registers contain the interleave wayness. However, it
 	 * seems simpler to just discover it indirectly, with the
-	 * algorithm bellow.
+	 * algorithm below.
 	 */
 	prv = 0;
drivers/edac/sb_edac.c +2 -2
 	for (n_sads = 0; n_sads < pvt->info.max_sad; n_sads++) { @@ -2055,7
+2055,7 @@ static int get_memory_error_data(struct mem_ctl_info *mci,
 
 	/*
 	 * Step 0) Check if the address is at special memory ranges
-	 * The check bellow is probably enough to fill all cases where
+	 * The check below is probably enough to fill all cases where
 	 * the error is not inside a memory, except for the legacy
 	 * range (e. g. VGA addresses). It is unlikely, however, that the
 	 * memory controller would generate an error on that range.
--
Quoted 1 line

2.46.0

Thanks!
-Qiuxu