Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6140116iog; Thu, 23 Jun 2022 12:10:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vKzWetCWgSE2AdytjQU5yY/usJW9vD6t8iMSIXlgcFJqRMPAlQDi4sGL7qwiS/K/oXcpq6 X-Received: by 2002:a17:90a:2f84:b0:1dd:940:50e7 with SMTP id t4-20020a17090a2f8400b001dd094050e7mr5462648pjd.210.1656011448526; Thu, 23 Jun 2022 12:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656011448; cv=none; d=google.com; s=arc-20160816; b=IxSzhu3sZM20wLxH5FBOILRo1kYXORolWxekU9ifnlz+vWBiLd4uZpOLvIDKqVV31x Cl3/lI/fdrGhptbsZ2uAR2Vi36ic/Hn8njViG7OBdfbENuVaYRh2K1m6MyOLNpjXgzWr pHfIDnGG9EPEffLh8hL5FhKjsvOpsSNgGMBvwKxyzJ1NixjCUU03tmdxjR3LGySvHxjH y5ajjsSdU/nryaIbmmSMFbR+M3omBjYpHgr2UCh4GsMu/L0w5Gz+DERsrBapScLIa0zV laObsDtXWDxIH8JNobGJ8avsnLaA2j7gF+xGCsQXoE6KRQv8417pBO6YfS0kvjlU2zFZ wStQ== 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=tVPfqUhCjb1u+jnF05Tvq2a6r8FsipYpw9wNkfGbqlByJd9dQukb4C2GE/8++oAck3 YKTSmtEmrRYLcwUoPX51qjNN343Ji0Oy6ZPtTZzIwXx3lzH0yyCcVC/6m6R07IDiKL8e 1TQL8T1RI0NXYq/CzI1ZrKirGQiogTr8ur+op4LF1DSJ65ZBFcN7uzeZRvmz0z6BkeHk SCmBPquZ6Xz+jJMarHavP7Lbr9Oa8g39seG5xISzD2JTV740zB6yfkXijZebwBwYvM2V wQrbva+8+tjD1G6OLUhAQLPLprza/Lzcd28QvJfJ2VNFDJvlicY6WnyqZAKLh26iWYCI D8Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nUVOxOZe; 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 j3-20020a170903028300b0016a1f3f7c57si368939plr.607.2022.06.23.12.10.35; Thu, 23 Jun 2022 12:10:48 -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=nUVOxOZe; 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 S235706AbiFWSBP (ORCPT + 99 others); Thu, 23 Jun 2022 14:01:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236159AbiFWR6x (ORCPT ); Thu, 23 Jun 2022 13:58:53 -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 8E2074F1D7; Thu, 23 Jun 2022 10:16:15 -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 87B74B824B9; Thu, 23 Jun 2022 17:16:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 763F2C3411B; Thu, 23 Jun 2022 17:16:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656004571; bh=/ZmgAz/yF4n7uDYfBU2W7fDHZpOoFzytYqX2t0cr/gc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nUVOxOZeBWcIxz3FG0KM15ZQKZGpZcDV48F+v7JQLJBNT3SV4CI6Va+vEFtF5rR0G q5tShvmFplteptB3lbhVMAjgEzYmVpAtNZDB/9xibk/BorDsn7+6LL1hNJnmYUeGMA LgwvJj390eK1YN2nC5Vfu2YRMg8DP/VBeeQ/8ikw= 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 4.19 039/234] linux/random.h: Use false with bool Date: Thu, 23 Jun 2022 18:41:46 +0200 Message-Id: <20220623164344.171237654@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164343.042598055@linuxfoundation.org> References: <20220623164343.042598055@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