From patchwork Fri Jul 15 05:40:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 592209 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B95FBC433EF for ; Mon, 18 Jul 2022 13:43:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234112AbiGRNn0 (ORCPT ); Mon, 18 Jul 2022 09:43:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231367AbiGRNnZ (ORCPT ); Mon, 18 Jul 2022 09:43:25 -0400 Received: from smtpbg.qq.com (biz-43-154-54-12.mail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B706417A8D; Mon, 18 Jul 2022 06:43:20 -0700 (PDT) X-QQ-mid: bizesmtp90t1658151789tul9v6c1 Received: from localhost.localdomain ( [171.223.96.21]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 18 Jul 2022 21:43:07 +0800 (CST) X-QQ-SSF: 01000000002000E0U000C00A0000020 X-QQ-FEAT: p3zaYvzvzBNRRsiyRhrp/xWxTKsJjab6qKy9Vku0u828MrQr/fuWkMMDqCDRg YXGwStzN7E1tTBqQPeW3NJV2/EsryL6E103udyaR5Pfe7yayC7gV1UBduFR0Oxz0SPcs/+D jCT6RcUI2hk4h/9kuV5kactGckZdSBVbBS30fq59xfhMwhY0y4lYTCbB3LM8cjuQyifMnRn Bo7hdm4t6q3hV/8EMux+1g0UayGWnO7zunHlESZbt32BW4ZlN9KFY/owe4A9gNaf90g0IPx c1MfwQLoGv16TGRFHhl/fzlLXDMSRpuJUpw0l/fU2v3pa7BA6fnbDrIOykWTV2WjHI23cYg /2KfMTRK8xXw8QSClwTN1XYZ2WTXYFq7317SpGGexd/PUtD5EV9Eee1EtALMwpxe9LGgeCZ blPvuUCOoVY= X-QQ-GoodBg: 0 From: Jason Wang To: herbert@gondor.apana.org.au Cc: olivia@selenic.com, rdunlap@infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Wang Subject: [PATCH] hwrng: Fix comment typo Date: Fri, 15 Jul 2022 13:40:50 +0800 Message-Id: <20220715054050.5613-1-wangborong@cdjrlc.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The double `close' is duplicated in line 148, remove one. Signed-off-by: Jason Wang --- 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.