Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1183480rwb; Thu, 6 Oct 2022 09:26:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5BjgDkXaWV2fCyJFMosvvMBQpPs3zG3I8LpnuBxmU8ssyzvCeVkCTnHSSmU8TUxMm1SYyU X-Received: by 2002:a17:903:246:b0:179:96b5:1ad2 with SMTP id j6-20020a170903024600b0017996b51ad2mr629838plh.37.1665073618319; Thu, 06 Oct 2022 09:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665073618; cv=none; d=google.com; s=arc-20160816; b=rlcyJ9e6nPzfn5lPGnWBFy4R3X0aXTJ/OjW/+BPwhd1AWb6FwAHNGZQEVBd5FPa8HZ qzxhyq50NoF5zDEEh0k4aC1ml9R9sOqJedcRzr0U/auiJdvy2/XnO5JWSYJLQjEOcM/L V8So2gWMnOKr8wXvcTgGlGSg/INBImUSyKjJ0gCLCDtcTy7x1mF1ysinrr7+ZOAkYYBc YE5VjZE7bCu7vvwy12PcDKghzdRf6cGOSPRMwXALBV76JjIoqVmnKWxer1wMTr81z9M7 3DHfAEcnKXCFe1fGnpn8VPvaNOnnsVtnbqgEirg3X5/huOY/Y80C6VumSkVUDkHGIFMo By1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=XCQ01W/Zak7b1/Z15iSFiNNO+LnDKjRUCwgq9owN358=; b=rk7wqvYweY/WSTeYSORkJ3eZECDCc7GJnsxFpSvI35Fz6aBbutUFTPDLNmGeDLBgv4 sfEOslZOMcsLYVXgpVd11LDYBw0olx/vrks01k5fmYztYCNCip88lM4Cvg0x6F61Hwtk Ony9SJRebmyq+Kw6XSB3aCBlKXBtpFZk2IR6oYfXYY+Y8hkvKB9A+zlmOQxRHt5jZ46F DHGyn9WANOfQhQ8m/1Og4kv8EgzokUSGW3abKw5XoAZg+sN9tkdfo0bs1Brr4oU0Rdbm KD4jfW0FiywoneGRy4B+y8iif+8Cm6pOIQ9COZ+kpl5PlWR/pV4Y4Uiy+RqO/1b6rvze a4GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=BuCJHwpP; dkim=neutral (no key) header.i=@suse.cz header.b=SBbeuIQG; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s14-20020a17090302ce00b00176e05275d1si20217198plk.423.2022.10.06.09.26.48; Thu, 06 Oct 2022 09:26:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@suse.cz header.s=susede2_rsa header.b=BuCJHwpP; dkim=neutral (no key) header.i=@suse.cz header.b=SBbeuIQG; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231587AbiJFQ0K (ORCPT + 61 others); Thu, 6 Oct 2022 12:26:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231689AbiJFQZv (ORCPT ); Thu, 6 Oct 2022 12:25:51 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76B5150059; Thu, 6 Oct 2022 09:25:48 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 1F8331F37C; Thu, 6 Oct 2022 16:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1665073547; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XCQ01W/Zak7b1/Z15iSFiNNO+LnDKjRUCwgq9owN358=; b=BuCJHwpPWmPIMX1bCVa8JvF5Z7d74n/yJTO58u9Flcub7+SsSH8xi8XlpREVi0km3sCU9I n49kVMdngxh5xHUcQ7JaAcHnUNwcTFTbcX666mAdObWVWWOiQa+NDqw9MObg2XVpG17TSv v1FutPp1yNGHL7WKXiiXO6EFByUMvOk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1665073547; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XCQ01W/Zak7b1/Z15iSFiNNO+LnDKjRUCwgq9owN358=; b=SBbeuIQGR7WWo1BYruUMTbe52g3YJZXPJmGbNwSK0jCwlB3l1oeiG8qTbAyyKKzsNlfKnK YUPXB99RMPIak5BQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E720713ACC; Thu, 6 Oct 2022 16:25:46 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 23SyOIoBP2OKIwAAMHmgww (envelope-from ); Thu, 06 Oct 2022 16:25:46 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 30DD3A06E9; Thu, 6 Oct 2022 18:25:46 +0200 (CEST) Date: Thu, 6 Oct 2022 18:25:46 +0200 From: Jan Kara To: "Jason A. Donenfeld" Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, Andreas Noever , Andrew Morton , Andy Shevchenko , Borislav Petkov , Christoph =?utf-8?Q?B=C3=B6hmwalder?= , Christoph Hellwig , Daniel Borkmann , Dave Airlie , Dave Hansen , "David S . Miller" , Eric Dumazet , Florian Westphal , Greg Kroah-Hartman , "H . Peter Anvin" , Herbert Xu , Hugh Dickins , Jakub Kicinski , "James E . J . Bottomley" , Jan Kara , Jason Gunthorpe , Jens Axboe , Johannes Berg , Jonathan Corbet , Jozsef Kadlecsik , KP Singh , Kees Cook , Marco Elver , Mauro Carvalho Chehab , Michael Ellerman , Pablo Neira Ayuso , Paolo Abeni , Theodore Ts'o , Thomas Gleixner , Thomas Graf , Ulf Hansson , Vignesh Raghavendra , Yury Norov , dri-devel@lists.freedesktop.org, kasan-dev@googlegroups.com, kernel-janitors@vger.kernel.org, linux-block@vger.kernel.org, linux-crypto@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-media@vger.kernel.org, linux-mm@kvack.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 3/5] treewide: use get_random_u32() when possible Message-ID: <20221006162546.hgkrftnsk5p3sug7@quack3> References: <20221006132510.23374-1-Jason@zx2c4.com> <20221006132510.23374-4-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221006132510.23374-4-Jason@zx2c4.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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-wireless@vger.kernel.org On Thu 06-10-22 07:25:08, Jason A. Donenfeld wrote: > The prandom_u32() function has been a deprecated inline wrapper around > get_random_u32() for several releases now, and compiles down to the > exact same code. Replace the deprecated wrapper with a direct call to > the real function. > > Reviewed-by: Kees Cook > Signed-off-by: Jason A. Donenfeld Looks good. Feel free to add: Reviewed-by: Jan Kara for the ext4 bits. Honza -- Jan Kara SUSE Labs, CR