Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2929774iog; Mon, 20 Jun 2022 07:42:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uZ+Jkxj4Q/iG8hg6MkjTTGKLuyW4yKFL+W/xgc+I5nZxzzApWf8GTUvoMRZCrYa0jz8k9J X-Received: by 2002:a05:6402:4026:b0:435:87ec:467 with SMTP id d38-20020a056402402600b0043587ec0467mr4156472eda.303.1655736155207; Mon, 20 Jun 2022 07:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655736155; cv=none; d=google.com; s=arc-20160816; b=sJ1kjUEroOcwyc3n+VwJP/HMkMqUVojvYmratbfAg8Ok+Ow0mq3yzifStVnzg3MmTv xjBWLtZtLtRSKyymt0XTP5EZuFnH7k24aCe2I+CQR8KPPOz4ZJAAV1MhG0gY0KcGzUuJ /lJSzCLSKzwpn+Is+DGLEL3H1+jT7CtQuTGiURYaBqvgNGF3fv4Wrq8fiWI3pYZvQpIh KaqJNS03hta5LPkO1fO2LP8wwCRyzeOmG6vCJ68ssvqJy3NDSs54+zjf7QM0lz7jlNiY UHW85XpRjAaZUqegOgMCztrNvhUEKycaZhEmZy3zNN3DtTPtpAfJtgdAy5CrlwUABRR4 p9VA== 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=Z4hfhucCWN2Vwf93eh31/u/i/cGxn48nHBkPaXkRqEE=; b=uLQkmk5AWQdiyonUNYh005Mz+5YsIWgM9gWzS2NA/wHOC/yOxXSImnS9voIEe5sAzt Xp/Hxo5vzNjG85hwFd6FZxjl6HrjDspdOXAZXUu7pzaBv7SLNJuo1lwhD3sg06kMAxah roawKeqiRKZxksZ233uqLq9bPlqb7/sHh5QwbCU3YWQQel/asaxQ0MtTpYfAm4FHwJ0Z Jauj8+F5JoJHgUKijnM7LL3nH5lY28NmOrmXvKwgQYqurosbd9Z/chA6Afgysul3+Upb aiMGzbb+/I72TKkU9A7KyRerx9KCFax2IvyI7PeG3fN20eJxtLpYyWytRymZVaex/kK1 3dSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=O+hSwgOP; 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 qk33-20020a1709077fa100b00722bc09757bsi4103842ejc.571.2022.06.20.07.42.09; Mon, 20 Jun 2022 07:42:35 -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=O+hSwgOP; 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 S1349514AbiFTNjr (ORCPT + 99 others); Mon, 20 Jun 2022 09:39:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346843AbiFTNhb (ORCPT ); Mon, 20 Jun 2022 09:37:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F2381EECD; Mon, 20 Jun 2022 06:14:05 -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 C7C9FB811E1; Mon, 20 Jun 2022 13:13:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3505C341D5; Mon, 20 Jun 2022 13:13:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655730831; bh=/ZmgAz/yF4n7uDYfBU2W7fDHZpOoFzytYqX2t0cr/gc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O+hSwgOP07bkiG9/iVIJQDOTsYocnk3H/GGuHAZ1tT2syFdIYC4Ux8yk5Vhb9H85j 1/4uVxwFwpEVLq88Dk5NpdD9qcYxYDeNl53EG+WbIJ7w5YLpR33X7JYnKhII6EgjZ0 tVnczfaYop9Qlli1gfmN3Ay5VB4IsCMZl00NlnAo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ard Biesheuvel , Richard Henderson , Mark Brown , Theodore Tso , "Jason A. Donenfeld" Subject: [PATCH 5.4 028/240] linux/random.h: Use false with bool Date: Mon, 20 Jun 2022 14:48:49 +0200 Message-Id: <20220620124738.639758689@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220620124737.799371052@linuxfoundation.org> References: <20220620124737.799371052@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: Richard Henderson commit 66f5ae899ada79c0e9a3d8d954f93a72344cd350 upstream. Keep the generic fallback versions in sync with the other architecture specific implementations and use the proper name for false. Suggested-by: Ard Biesheuvel Signed-off-by: Richard Henderson Signed-off-by: Mark Brown Link: https://lore.kernel.org/r/20200110145422.49141-6-broonie@kernel.org Signed-off-by: Theodore Ts'o Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- include/linux/random.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/include/linux/random.h +++ b/include/linux/random.h @@ -120,19 +120,19 @@ unsigned long randomize_page(unsigned lo #else static inline bool arch_get_random_long(unsigned long *v) { - return 0; + return false; } static inline bool arch_get_random_int(unsigned int *v) { - return 0; + return false; } static inline bool arch_get_random_seed_long(unsigned long *v) { - return 0; + return false; } static inline bool arch_get_random_seed_int(unsigned int *v) { - return 0; + return false; } #endif