Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6145567iog; Thu, 23 Jun 2022 12:17:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t6cAA7XipxUoflrOJsxY9OzdLemF3JSE5ihNZcqBlTfWix7+BHy3fsciyWOFGh7FmWumbu X-Received: by 2002:a17:903:1252:b0:168:d68e:8bd9 with SMTP id u18-20020a170903125200b00168d68e8bd9mr39980247plh.141.1656011826577; Thu, 23 Jun 2022 12:17:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656011826; cv=none; d=google.com; s=arc-20160816; b=w4IZnZ91+nzXtf6oIKhK/jiofPpU7i/p/9Gg4FGFHOhPaa9NeRpyGW1X/RgzXIhh4K eGukgSHLInZX914sYtXjASBKNzTSwB6JnbQuYwbQnPhbbDvGhHHhL+ZEZtT6kwU9/7Uv pJGBkj5dLuQtuMD4szfIsUxIZUfscXNsWg+eLo0GQLeHJzZaYk7thjVNWkCDuLwlXv7y ljnVDjk9DaVXObl1feBDd+4wwLluskFBhQtTOWSpsMHhDuJLLluFyOE9NhshhXd3+56d NGn+CF39h2qwE1hoA+b5WHQbB0lWtjoqtddAapZPZDMKIVzQDa66W0drJR2zv5VJv+Sh J8bA== 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=WPpjcq9Goybcs9JJrlHNBiQ206Ja6qc7MqQZaZ79QAo=; b=HCOh/lLnLkDHYYmABFQt6mCUm4aMbGw/hPkGLSRrLqxWYfL7T41J5j5jTl+S+qVKYz XUYr3T0j7wJVbUsRW9h3g7scYY4MLw6++I6YtPgeCagTVWjUC79acoKoQndKu0vtpY/C DYNXG8SoTpEfIauvGb+SFvtQUUVftnMu00qszJGA/i5VrHQ5STft5936BwnrR3d8rjvQ veYFM38Q58a/udgPA/OAfHJNHoYH5QvY07tiXqOqzxY+nQyprcmxIOkGbMd6lIGC3UJu ZvmxQFvq/sblkbJTqYvNg6qLpCFtJGxL6FcAWmel/Vc+RrbXgYTprsIHL8I7x4kMiSlR 2tHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cyuMAxc7; 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 a9-20020a170902710900b0015d22cd6f85si316130pll.586.2022.06.23.12.16.53; Thu, 23 Jun 2022 12:17:06 -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=cyuMAxc7; 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 S233828AbiFWQ6f (ORCPT + 99 others); Thu, 23 Jun 2022 12:58:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233421AbiFWQuz (ORCPT ); Thu, 23 Jun 2022 12:50:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB7264F456; Thu, 23 Jun 2022 09:48:52 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 95C1C61F4A; Thu, 23 Jun 2022 16:48:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A5DFC3411B; Thu, 23 Jun 2022 16:48:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656002930; bh=X0ausAnTkxkVNlUSvePP3bPHa7VhO6PfAU1PS/t+u08=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cyuMAxc7QzXR+Hajp8PiuwrYSlzzQbZAChlSSuWRSZLCr8zLqNcvRoJmjzQUlFapN OgDObm2WslfNUU62Wan3CqXiIAVZFkQHfLaq4ZWkvYJBRvX6FqKnlq62TTm+SFj91A QWKzyHPT1kuaMx0ouyCwM2Glp3E0B9J8f4le8aYY= 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.9 072/264] linux/random.h: Use false with bool Date: Thu, 23 Jun 2022 18:41:05 +0200 Message-Id: <20220623164346.109087886@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: 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 @@ -98,19 +98,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