* [PATCH] hwrng: Fix comment typo
@ 2022-07-15 5:40 Jason Wang
2022-07-22 8:45 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2022-07-15 5:40 UTC (permalink / raw)
To: herbert; +Cc: olivia, rdunlap, linux-crypto, linux-kernel, Jason Wang
The double `close' is duplicated in line 148, remove one.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
drivers/char/hw_random/via-rng.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/hw_random/via-rng.c b/drivers/char/hw_random/via-rng.c
index 7444cc146e86..a9a0a3b09c8b 100644
--- a/drivers/char/hw_random/via-rng.c
+++ b/drivers/char/hw_random/via-rng.c
@@ -145,7 +145,7 @@ static int via_rng_init(struct hwrng *rng)
}
/* Control the RNG via MSR. Tread lightly and pay very close
- * close attention to values written, as the reserved fields
+ * attention to values written, as the reserved fields
* are documented to be "undefined and unpredictable"; but it
* does not say to write them as zero, so I make a guess that
* we restore the values we find in the register.
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hwrng: Fix comment typo
2022-07-15 5:40 [PATCH] hwrng: Fix comment typo Jason Wang
@ 2022-07-22 8:45 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2022-07-22 8:45 UTC (permalink / raw)
To: Jason Wang; +Cc: olivia, rdunlap, linux-crypto, linux-kernel
On Fri, Jul 15, 2022 at 01:40:50PM +0800, Jason Wang wrote:
> The double `close' is duplicated in line 148, remove one.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
> drivers/char/hw_random/via-rng.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-22 8:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-15 5:40 [PATCH] hwrng: Fix comment typo Jason Wang
2022-07-22 8:45 ` Herbert Xu
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).