2021-12-11 09:19:37

by Jason Wang

[permalink] [raw]
Subject: [PATCH] RAS/CEC: fix typo in a comment

The double `an' in the comment in line 41 is repeated. Remove one
of them from the comment.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/ras/cec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ras/cec.c b/drivers/ras/cec.c
index d7894f178bd4..42f2fc0bc8a9 100644
--- a/drivers/ras/cec.c
+++ b/drivers/ras/cec.c
@@ -38,7 +38,7 @@
* elements entered into the array, during which, we're decaying all elements.
* If, after decay, an element gets inserted again, its generation is set to 11b
* to make sure it has higher numerical count than other, older elements and
- * thus emulate an an LRU-like behavior when deleting elements to free up space
+ * thus emulate an LRU-like behavior when deleting elements to free up space
* in the page.
*
* When an element reaches it's max count of action_threshold, we try to poison
--
2.34.1



2021-12-11 11:09:12

by Borislav Petkov

[permalink] [raw]
Subject: Re: [PATCH] RAS/CEC: fix typo in a comment

On Sat, Dec 11, 2021 at 05:19:14PM +0800, Jason Wang wrote:
> The double `an' in the comment in line 41 is repeated. Remove one
> of them from the comment.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/ras/cec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette