Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6030228iog; Thu, 23 Jun 2022 09:54:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tVTPUwHqFIQ8ydSdGKpD72r4P11/J9KML0m2GnfJGYvSdUzrl4QzwhoOhcOIY1VeHG6sMp X-Received: by 2002:a17:906:1018:b0:718:dd3f:f28c with SMTP id 24-20020a170906101800b00718dd3ff28cmr9379966ejm.55.1656003287250; Thu, 23 Jun 2022 09:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656003287; cv=none; d=google.com; s=arc-20160816; b=eRgog9GHY5O8DRt3oco12XTRtJ8uIIdjo7vsVhyEd3fUgy4HbzNO+Soft7wyyenT8U 1de2DvL9zo8Y5HHpo46A4MjR8VtG2w0wjns1lAKMgb9zi4uvN9LVUtZlbhhZAJhAGykz 92B09zBLZ8Nq6GegTq5LP2/+Wk76qm6XzFZZnP+Qa4aJIwt2nldOAoswyt0a6IibmrHf B/AHi7mtAJhAlDw8FzLV4ZAc5qS6ORSwdc/CVwFu8HfNUD9K1/3MxOVl4sNAOvofVosW G7p9BK23bMrYRV0LMcsbA+bJ8TtyTLg8gRP4qvOHOUa48M7arxAlJRs0NQqoC8hEqtYB JSmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=J4GkZkbnYF5RDbfBZp4qRkJ78rGPiKDIj9x5T9X2VBQ=; b=EpP32ET+hBc1CGOKJQhphC8agO6t5qlww7ZgI/OTXLUf/X010VB/1nfbX4Ive2cqgr B03XMpivrlcBlsag1j6MoKY17i1jxS9dG1VQk7FanXN3jWB0YonKrQyNtCW94vyY+OCt gFvKkYTTPmV8v+C5d4QvKHO/G/sQrXFzQx6TIXk9VRIqm+363cl2s1MbllWamP6T39+d RtOBT2DGXksd6QG19/+o39xd8QKiYsywMcymfx3+uToTNYJ1t08ugSrwFJDGRUcnko/j 2H7qtMPUEQIHu+x5aThDBcrzWXfdOyGik8d3PhBNOc5v+ng57cNPwCLht4tMnmcehJvW BJZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PfMdT7s4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t11-20020a50d70b000000b00435827bbf87si101302edi.184.2022.06.23.09.54.22; Thu, 23 Jun 2022 09:54:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PfMdT7s4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232786AbiFWQs3 (ORCPT + 99 others); Thu, 23 Jun 2022 12:48:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231358AbiFWQrO (ORCPT ); Thu, 23 Jun 2022 12:47:14 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 402564992A; Thu, 23 Jun 2022 09:47:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F143DB8248E; Thu, 23 Jun 2022 16:47:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E64AC3411B; Thu, 23 Jun 2022 16:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656002830; bh=lW1c08ukeQAzXeoU4TLRtgkbf4eQNLv6V030ud35N/I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PfMdT7s4Q/3Bqy5qnm0QtmHsV7VQaBRbL+yXYTQ2OV725l3riyKRpazoS3ovy/vDj UBgLjkyUzaNJMrxe0yD+1VCEkbzi0DycNONsnpRL6C1hnHSNcpLMsQ+6GeRPvXQjY/ /o4MBQvSP4hZm6EFooa+5MZw/4g9znTyh52NSw48= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephan Mueller , Theodore Tso , "Jason A. Donenfeld" Subject: [PATCH 4.9 005/264] random: fix comment for unused random_min_urandom_seed Date: Thu, 23 Jun 2022 18:39:58 +0200 Message-Id: <20220623164344.211637838@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164344.053938039@linuxfoundation.org> References: <20220623164344.053938039@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Stephan M?ller" commit 5d0e5ea343a0f70351428476bcf8715e0731f26a upstream. The variable random_min_urandom_seed is not needed any more as it defined the reseeding behavior of the nonblocking pool. Though it is not needed any more, it is left in the code for user space interface compatibility. Signed-off-by: Stephan Mueller Signed-off-by: Theodore Ts'o Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- drivers/char/random.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -314,9 +314,7 @@ static int random_read_wakeup_bits = 64; static int random_write_wakeup_bits = 28 * OUTPUT_POOL_WORDS; /* - * The minimum number of seconds between urandom pool reseeding. We - * do this to limit the amount of entropy that can be drained from the - * input pool even if there are heavy demands on /dev/urandom. + * Variable is currently unused by left for user space compatibility. */ static int random_min_urandom_seed = 60;