Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7328568pxb; Thu, 18 Feb 2021 07:22:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyS9XYL7+yDNbW63z+BPV/WCSd4cMIHFUILfUaN1DPw9mPsHlkmenHpPNuhsiherJCqp7/N X-Received: by 2002:a50:8563:: with SMTP id 90mr23168edr.340.1613661746290; Thu, 18 Feb 2021 07:22:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613661746; cv=none; d=google.com; s=arc-20160816; b=LA7fbB6+EZYhO91nZSH4M9oAvGgXPTgxvI49BaJnrZqMK5Z7plXDbtKDCqzRHuffM6 5LetvjitOwgHqtU9yTKF5oUmv5K1wTjJkJH1NAUzEJvZKTR66+aNQPxgcpH7fOl/ZnC2 XrkBETkwugVd39HV1NECeYkwbgXBW7Az735KCyIJ8yfXbnRSKkjnEOmhQ4DNOyc1plU8 yrbET/P0KnNN40XLF/CrTwCUP7LlV1Y6nRe5VCiaKdQa05QPabRKaiULqeENHYoBPhV8 hqAAQzRy7phX7hp/5mXuWssgbUSyBzKqEKUYsiSl6XghM9QoytQpbdWgXFKO6MaPfuUM H/5Q== 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; bh=iuEfkBioZL3PCBzEa6OP03Pzw+w4+imJNcSQvvYATy8=; b=iUFbQHmclr11P6x2r8BhE97mgbgRZkObrQs86JYiZntU7T4kIg4jSV30Wc2a6uG573 MEZrMZaF79+gfptr4EZLBDlsl3mP6PRiCygI+hFtbDxgQwwfs0KqFxSTeFHDivIKi617 OxqtT5Tqehr3c3G3+r1kacbXt4hVGXedPLqu9bnBUcpj/Cy+nOF1vwgfvwuvTXz7MJVp ouCwZ1chabSrwQXD3snfTLE4VsFL3tobcEZibGAY5ElsgSgKTi1suhDwwCKG/J0mQ47N u9A4ClFkzUofMoNUJlADalfSJsXkZOGrIvMV5rMUoi3/SZpz2G0Qu4WYFbCfqpY+dv5M dOqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=t6icCdus; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k16si3885119edq.147.2021.02.18.07.21.59; Thu, 18 Feb 2021 07:22:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=t6icCdus; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231697AbhBRPUx (ORCPT + 99 others); Thu, 18 Feb 2021 10:20:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233215AbhBRM77 (ORCPT ); Thu, 18 Feb 2021 07:59:59 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95218C061756 for ; Thu, 18 Feb 2021 04:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=iuEfkBioZL3PCBzEa6OP03Pzw+w4+imJNcSQvvYATy8=; b=t6icCduspY+I9AH1D7+qy/25Q0 S5Glin8vpPrwIAFpqOfu/HKQKLDNCQcJt/NQ0FaBthMXarcp37d1TXbemeCWVU/nL/nJ3NWUECqKt uLsQJi2xdgGW4wp9wR1usLRf4mCyTVTeSflw40kt+jHa/fArFKN7orTpINzuwdY7vkha5dJcK+FiF esK8n0dlr81bzcLwigta8BrpcdM/DC7RdzXIlJ0ENXQv35pooebImDsiMh0ROIYSWTpTYygOM+2kW 27iGBGwmkmwoQwtY8d/me2QW1mp4fMOfAv7Jcwvwp0NjMzGGEVFnsHp64Egb1Ot8BiTYc28grEMA/ EjpsO2kQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCisy-0007Xt-Gy; Thu, 18 Feb 2021 12:58:24 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id EED59305C10; Thu, 18 Feb 2021 13:58:22 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D87E9201AFBA9; Thu, 18 Feb 2021 13:58:22 +0100 (CET) Date: Thu, 18 Feb 2021 13:58:22 +0100 From: Peter Zijlstra To: Jiapeng Chong Cc: mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sched/fair: Use true and false for bool variable Message-ID: References: <1613643011-114108-1-git-send-email-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1613643011-114108-1-git-send-email-jiapeng.chong@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 18, 2021 at 06:10:11PM +0800, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./kernel/sched/fair.c:9504:9-10: WARNING: return of 0/1 in function > 'voluntary_active_balance' with return type bool. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong You and your robot are welcomed to my /dev/null filter. I'm sick and tired of telling you to stop sending these useless patches. YCOQhImbjjJaM/Qe@hirez.programming.kicks-ass.net YAmiG3FLMYKwF0jV@hirez.programming.kicks-ass.net 20201109125543.GJ2611@hirez.programming.kicks-ass.net