Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5805889rwb; Mon, 14 Nov 2022 09:40:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf66I1CUYkZBQLjDV4N6qB39CgxBcYs/M5kpPQg6RqAhvsBIOnhQT471cJNF6cIxxF/RgP4i X-Received: by 2002:a17:90a:4310:b0:20b:22fb:2ef with SMTP id q16-20020a17090a431000b0020b22fb02efmr14866859pjg.158.1668447637814; Mon, 14 Nov 2022 09:40:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668447637; cv=none; d=google.com; s=arc-20160816; b=F5oUiPiwO2HsFYZRLQdKIwEDPFvOZLS+R0NBZPmnYFLfthvvLutoRot3NsvSX9X3PR uq6Wtx2MJYx6Iua3mKNYKeGjIX+2utkSptPP4dWn4C+dLjGJ8zx8kovpHEsbz7j1f1Yo 4psSR3+lmE2JVAGo6iIbG/3Ky0qlnv4C/pvFiDFSrdO73V27yYGqJVIQQ4fLjl5lalfB HB+tAcDw3nFpnQDNEK2KlwlFg7wkv2ryYnKeLTqeARqcXCCFXicpq1McwBC/6EVCXzch YSq8IIw/yfciyJAQB6xKsKmkOo19DhXwvODHEPrxg3UKm9pjmeARJc2qTjMEh1HG6WoU qMWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=K1bEu6LvWTU2ExAGlkv+LV4LZM5aPMQ8wzVf8rbOjcY=; b=z+xq0ST4X7X8RPJZgukcsSJeZC7oKQbPJ5TPP+68QlDOuo3sfS7oj6LNT7Urh15I2I oNuruZI3Cj8/ToeLPw8bnZgkrn4I4lGFGnek22kRs8CmZqY8z9pX8hDz6+7eEEB6LS8D Uvp3TymI/9W/c3FuxP+IlJFjxnwfaHIEOSH9QSDX+XjYuvj7cVKjM+wDn1PPXSI4tt0J A/smpjQz1Pf8mu/r075vZTM7pqgg/Bk6mUd+rNhzEd4CUmh2+WFB+8lG6xpqtowUUD+n dModLeiFmWoUZbrTbwB48TaYNKVp3STS8Xna6S8KSxsjes8e+P5Yh/kbei/ZbwYeuCWO +lAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="i/hOOg8D"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020a17090a5d0f00b00205ee3e845bsi9484578pji.116.2022.11.14.09.40.18; Mon, 14 Nov 2022 09:40:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="i/hOOg8D"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237537AbiKNRfg (ORCPT + 99 others); Mon, 14 Nov 2022 12:35:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237512AbiKNRfe (ORCPT ); Mon, 14 Nov 2022 12:35:34 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8848623391; Mon, 14 Nov 2022 09:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=K1bEu6LvWTU2ExAGlkv+LV4LZM5aPMQ8wzVf8rbOjcY=; b=i/hOOg8D9g633GAnWcZtSrQbCD ZGWVQmc1Wc+hxYX2PDDnuNQSEizqo8zi055fxH/VY4HKiiPtDKCFQuk1iFFEauBh1uvEeYzHLzYHF Lyj5pg+1V1S955h2UtF95/2O9J5D1sO9pfEKtugYpAP1SRqiy4urZt2eagjPIVBAbXPzvl60DgI2S qxUuoF8INS6JQyho+V9EwtEMuVeIIuTcN4g3U32FwSKD+YJoGwkF/BFiipcwZfBsJUYN1qx7+KHDS U60lsRNz53P6RH8pDGpmMeDFOlpORSjYW6kfKJ26FG/2zZHPNRieo47Tb6J6lJQ8q1iiXlGkdNr0o JKqY/exw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35274) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oudMg-0001BQ-DP; Mon, 14 Nov 2022 17:35:22 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oudMW-0003zM-JW; Mon, 14 Nov 2022 17:35:12 +0000 Date: Mon, 14 Nov 2022 17:35:12 +0000 From: "Russell King (Oracle)" To: "Jason A. Donenfeld" Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, Kees Cook , Greg Kroah-Hartman , Jakub Kicinski , Catalin Marinas , Thomas Bogendoerfer , Heiko Carstens , Herbert Xu , Christoph =?iso-8859-1?Q?B=F6hmwalder?= , Jani Nikula , Jason Gunthorpe , Sakari Ailus , "Martin K . Petersen" , Theodore Ts'o , Andreas Dilger , Jaegeuk Kim , Richard Weinberger , "Darrick J . Wong" , SeongJae Park , Thomas Gleixner , Andrew Morton , Michael Ellerman , Helge Deller , netdev@vger.kernel.org, linux-crypto@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mmc@vger.kernel.org, linux-parisc@vger.kernel.org Subject: Re: [PATCH v2 1/3] treewide: use get_random_u32_below() instead of deprecated function Message-ID: References: <20221114164558.1180362-1-Jason@zx2c4.com> <20221114164558.1180362-2-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221114164558.1180362-2-Jason@zx2c4.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE 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-crypto@vger.kernel.org On Mon, Nov 14, 2022 at 05:45:56PM +0100, Jason A. Donenfeld wrote: > This is a simple mechanical transformation done by: > > @@ > expression E; > @@ > - prandom_u32_max > + get_random_u32_below > (E) > > Reviewed-by: Greg Kroah-Hartman > Acked-by: Darrick J. Wong # for xfs > Reviewed-by: SeongJae Park # for damon > Reviewed-by: Jason Gunthorpe # for infiniband > Signed-off-by: Jason A. Donenfeld > --- > arch/arm/kernel/process.c | 2 +- Reviewed-by: Russell King (Oracle) # for arm Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!