From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755372AbaGHW00 (ORCPT ); Tue, 8 Jul 2014 18:26:26 -0400 Received: from mail-yh0-f44.google.com ([209.85.213.44]:60378 "EHLO mail-yh0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755236AbaGHW0Y (ORCPT ); Tue, 8 Jul 2014 18:26:24 -0400 From: Pranith Kumar To: "Paul E. McKenney" , Josh Triplett , linux-kernel@vger.kernel.org (open list:READ-COPY UPDATE...) Subject: [PATCH 9/9] rcu: return bool type in rcu_lockdep_current_cpu_online() Date: Tue, 8 Jul 2014 18:26:18 -0400 Message-Id: <1404858378-23806-10-git-send-email-bobby.prani@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404858378-23806-1-git-send-email-bobby.prani@gmail.com> References: <1404858378-23806-1-git-send-email-bobby.prani@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org return true instead of 1 in rcu_lockdep_current_cpu_online() as this has bool as return type Signed-off-by: Pranith Kumar --- include/linux/rcupdate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index e8c55d8..2ed25c6 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -349,7 +349,7 @@ bool rcu_lockdep_current_cpu_online(void); #else /* #if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_PROVE_RCU) */ static inline bool rcu_lockdep_current_cpu_online(void) { - return 1; + return true; } #endif /* #else #if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_PROVE_RCU) */ -- 1.9.1