Skip to contentSkip to conversation

hwrng: Fix comment typo

PATCH In review Jason Wang 2 participants 2 messages Jul 18, 2022 – Jul 22, 2022

Subsystems (2)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 hwrng: Fix comment typo

The double `close' is duplicated in line 148, remove one.

---
 drivers/char/hw_random/via-rng.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/hw_random/via-rng.c +1 -1
index 7444cc146e86..a9a0a3b09c8b 100644
@@ -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.
Signature · 1 line
2.35.1
maintainer
#1 lore raw
Quoted 6 lines · Jason Wang

The double `close' is duplicated in line 148, remove one.

---
 drivers/char/hw_random/via-rng.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt