* [PATCH] EDAC/altera: Fix comment typo
@ 2022-08-11 12:08 Jason Wang
2022-08-16 18:45 ` Dinh Nguyen
0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2022-08-11 12:08 UTC (permalink / raw)
To: dinguyen
Cc: bp, mchehab, tony.luck, james.morse, rric, linux-edac,
linux-kernel, Jason Wang
The double `the' is duplicated in the comment, remove one.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
drivers/edac/altera_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c
index e7e8e624a436..940f8149172c 100644
--- a/drivers/edac/altera_edac.c
+++ b/drivers/edac/altera_edac.c
@@ -168,7 +168,7 @@ static ssize_t altr_sdr_mc_err_inject_write(struct file *file,
/*
* To trigger the error, we need to read the data back
* (the data was written with errors above).
- * The READ_ONCE macros and printk are used to prevent the
+ * The READ_ONCE macros and printk are used to prevent
* the compiler optimizing these reads out.
*/
reg = READ_ONCE(ptemp[0]);
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] EDAC/altera: Fix comment typo
2022-08-11 12:08 [PATCH] EDAC/altera: Fix comment typo Jason Wang
@ 2022-08-16 18:45 ` Dinh Nguyen
0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2022-08-16 18:45 UTC (permalink / raw)
To: Jason Wang
Cc: bp, mchehab, tony.luck, james.morse, rric, linux-edac, linux-kernel
On 8/11/22 07:08, Jason Wang wrote:
> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
> drivers/edac/altera_edac.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c
> index e7e8e624a436..940f8149172c 100644
> --- a/drivers/edac/altera_edac.c
> +++ b/drivers/edac/altera_edac.c
> @@ -168,7 +168,7 @@ static ssize_t altr_sdr_mc_err_inject_write(struct file *file,
> /*
> * To trigger the error, we need to read the data back
> * (the data was written with errors above).
> - * The READ_ONCE macros and printk are used to prevent the
> + * The READ_ONCE macros and printk are used to prevent
> * the compiler optimizing these reads out.
> */
> reg = READ_ONCE(ptemp[0]);
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-16 18:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 12:08 [PATCH] EDAC/altera: Fix comment typo Jason Wang
2022-08-16 18:45 ` Dinh Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).