public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] EDAC/sb_edac: Fix typos
@ 2024-09-09 22:08 Andrew Kreimer
  2024-09-10  5:56 ` Zhuo, Qiuxu
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Kreimer @ 2024-09-09 22:08 UTC (permalink / raw)
  To: Tony Luck, Qiuxu Zhuo, Borislav Petkov, James Morse,
	Mauro Carvalho Chehab, Robert Richter
  Cc: linux-edac, linux-kernel, kernel-janitors, Andrew Kreimer,
	Matthew Wilcox

Fix typos in comments.

Reported-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
---
 drivers/edac/sb_edac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c
index d5f12219598a..d47f1240c738 100644
--- a/drivers/edac/sb_edac.c
+++ b/drivers/edac/sb_edac.c
@@ -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.
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] EDAC/sb_edac: Fix typos
  2024-09-09 22:08 [PATCH] EDAC/sb_edac: Fix typos Andrew Kreimer
@ 2024-09-10  5:56 ` Zhuo, Qiuxu
  0 siblings, 0 replies; 2+ messages in thread
From: Zhuo, Qiuxu @ 2024-09-10  5:56 UTC (permalink / raw)
  To: Andrew Kreimer, Luck, Tony, Borislav Petkov, James Morse,
	Mauro Carvalho Chehab, Robert Richter
  Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel-janitors@vger.kernel.org, Matthew Wilcox

> From: Andrew Kreimer <algonell@gmail.com>
> [...]
> Subject: [PATCH] EDAC/sb_edac: Fix typos
> 
> Fix typos in comments.
> 
> Reported-by: Matthew Wilcox <willy@infradead.org>
> Signed-off-by: Andrew Kreimer <algonell@gmail.com>
> ---
>  drivers/edac/sb_edac.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index
> d5f12219598a..d47f1240c738 100644
> --- a/drivers/edac/sb_edac.c
> +++ b/drivers/edac/sb_edac.c
> @@ -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.
> --
> 2.46.0

Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>

Thanks!
-Qiuxu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-10  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 22:08 [PATCH] EDAC/sb_edac: Fix typos Andrew Kreimer
2024-09-10  5:56 ` Zhuo, Qiuxu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox