2023-07-12 10:36:48

by pangzizhen001

[permalink] [raw]
Subject: Fwd: [PATCH] drivers/edac: Fix comment typo

Delete duplicate word "the"

Signed-off-by: wangjianli <[email protected]>
---
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 8b31cd54bdb6..a3b17813eb9b 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]);


2023-07-18 16:43:59

by pangzizhen001

[permalink] [raw]
Subject: [PATCH] drivers/edac: Fix comment typo

Delete duplicate word "the"

Signed-off-by: wangjianli <[email protected]>
---
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 8b31cd54bdb6..a3b17813eb9b 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]);