* [PATCH] drivers/edac: fix repeated words in comments
@ 2022-10-22 5:37 wangjianli
0 siblings, 0 replies; 3+ messages in thread
From: wangjianli @ 2022-10-22 5:37 UTC (permalink / raw)
To: dinguyen, bp, mchehab, tony.luck; +Cc: linux-edac, linux-kernel, wangjianli
Delete the redundant word 'the'.
Signed-off-by: wangjianli <wangjianli@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] 3+ messages in thread
* [PATCH] drivers/edac: fix repeated words in comments
@ 2022-08-23 13:48 wangjianli
0 siblings, 0 replies; 3+ messages in thread
From: wangjianli @ 2022-08-23 13:48 UTC (permalink / raw)
To: bp, mchehab, tony.luck; +Cc: linux-edac, linux-kernel, wangjianli
Delete the redundant word 'have'.
Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
drivers/edac/i5000_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/edac/i5000_edac.c b/drivers/edac/i5000_edac.c
index ba46057d4220..dc81eeb58720 100644
--- a/drivers/edac/i5000_edac.c
+++ b/drivers/edac/i5000_edac.c
@@ -1376,7 +1376,7 @@ static int i5000_probe1(struct pci_dev *pdev, int dev_idx)
* As we don't have a motherboard identification routine to determine
* actual number of slots/dimms per channel, we thus utilize the
* resource as specified by the chipset. Thus, we might have
- * have more DIMMs per channel than actually on the mobo, but this
+ * more DIMMs per channel than actually on the mobo, but this
* allows the driver to support up to the chipset max, without
* some fancy mobo determination.
*/
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] drivers/edac: fix repeated words in comments
@ 2022-08-23 13:45 wangjianli
0 siblings, 0 replies; 3+ messages in thread
From: wangjianli @ 2022-08-23 13:45 UTC (permalink / raw)
To: dinguyen, bp, mchehab, tony.luck; +Cc: linux-edac, linux-kernel, wangjianli
Delete the redundant word 'the'.
Signed-off-by: wangjianli <wangjianli@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..e9c0f25b2f18 100644
--- a/drivers/edac/altera_edac.c
+++ b/drivers/edac/altera_edac.c
@@ -169,7 +169,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 compiler optimizing these reads out.
+ * compiler optimizing these reads out.
*/
reg = READ_ONCE(ptemp[0]);
read_reg = READ_ONCE(ptemp[1]);
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-22 5:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-22 5:37 [PATCH] drivers/edac: fix repeated words in comments wangjianli
-- strict thread matches above, loose matches on Subject: below --
2022-08-23 13:48 wangjianli
2022-08-23 13:45 wangjianli
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).