EDAC/sb_edac: Fix typos
Subsystems (3)
PATCH 1/1 EDAC/sb_edac: Fix typos
Fix typos in comments.
Reported-by Matthew Wilcox <[email protected]>
Signed-off-by Andrew Kreimer <[email protected]>
--- drivers/edac/sb_edac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/edac/sb_edac.c +2 -2
@@ -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
Quoted 36 lines
From: Andrew Kreimer <[email protected]>
[...]
Subject: [PATCH] EDAC/sb_edac: Fix typosFix typos in comments.
Reported-by Matthew Wilcox <[email protected]>Signed-off-by Andrew Kreimer <[email protected]>--- 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..d47f1240c738100644drivers/edac/sb_edac.c +1
-1@@ -1797,7 +1797,7 @@ static void get_memory_layout(const structmem_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
-2for (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
Reviewed-by Qiuxu Zhuo <[email protected]>
Thanks!
-Qiuxu