Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1487175ybj; Fri, 8 May 2020 02:26:31 -0700 (PDT) X-Google-Smtp-Source: APiQypImnMngSnGwjKx94Ii68F62FmD2Si4/bNIzpQ5Y9MgN5tlZbe1D38rYe7g49sqUJk0p+Y+1 X-Received: by 2002:a17:906:4310:: with SMTP id j16mr1142266ejm.102.1588929990921; Fri, 08 May 2020 02:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588929990; cv=none; d=google.com; s=arc-20160816; b=s8eekO5xfHBscNWSDDX1GIRf/Ob/w8m5J2jw2j1mwrpYc5jQjYK2wHlW482eAxS6ZB LyrsCx9ky3UErIVuNgEDoXmcm+vug2VTvmVGS9YLi4I5c563TQH6Q6iO1eZ0ax9RTSY9 1aaAprunaky4y6qZ/TZNb/HP9CLkZkdmq/TAGADv8UQFGOZzhFMgXgj7yx+PBsRrYcfA YAzVuRgV4ryVS7l79/q0vZDaYUxq7XYUEqgcwDCQHWQczwN7zCZuUoqlJ8qtoJopwN7m arfA5mEOGyfIaIBG81Siqv7lpufQwai9K8eqDSXRx7n7eAj6NKZlkGJqQbIR3kmCws6E A2ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=4X95pZOaGefqGfLTV95CbylbpNHG8OvALQNRBa10kXM=; b=vvChMI45xBVLdw7S8hu6IBpQ+n9qOMjyp3hUl4u/CXiLT+5+c5U2QWepSVcgubrwyj Mm9xmN3K+INehwksTxX95w3Oe38ae4tdMZ5MgRAOS8dzBhw8fkU05eYKnm3nAUa+6faQ lhw6qp1qQprPxPWCTZY6dU24DG4FmjVjxFj9hoQAdk757Y0mMDfCmVs+kqpPz8GAvyTM UtzClaDBh2m+G5gD4YqBmI5ZSut0f7osfpCdTwQhCmi64Aj/Y+lLP6saFaqKKtnmn4pd E+mcVpcPVjXMCFtHqCesRHLpNXQ9rXDsfz8XuVTsJJPhXoSJk1DRMBioRInpRSUxhNrV GwpA== ARC-Authentication-Results: i=1; mx.google.com; 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 gy26si589053ejb.384.2020.05.08.02.26.08; Fri, 08 May 2020 02:26:30 -0700 (PDT) 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; 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 S1726641AbgEHJYy (ORCPT + 99 others); Fri, 8 May 2020 05:24:54 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:16648 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgEHJYy (ORCPT ); Fri, 8 May 2020 05:24:54 -0400 X-IronPort-AV: E=Sophos;i="5.73,367,1583190000"; d="scan'208";a="448801829" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2020 11:24:30 +0200 Date: Fri, 8 May 2020 11:24:30 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Peter Zijlstra cc: Jason Yan , mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, linux-kernel@vger.kernel.org, linux@rasmusvillemoes.dk, Julia.Lawall@lip6.fr Subject: Re: [PATCH] sched/fair: Return true,false in voluntary_active_balance() In-Reply-To: <20200508081629.GN5298@hirez.programming.kicks-ass.net> Message-ID: References: <20200507110625.37254-1-yanaijie@huawei.com> <20200508081629.GN5298@hirez.programming.kicks-ass.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 May 2020, Peter Zijlstra wrote: > On Thu, May 07, 2020 at 07:06:25PM +0800, Jason Yan wrote: > > Fix the following coccicheck warning: > > > > kernel/sched/fair.c:9375:9-10: WARNING: return of 0/1 in function > > 'voluntary_active_balance' with return type bool > > That's not a warning, that's a broken cocinelle script, which if these > stupid patches don't stop, I'm going to delete myself! Peter, If you don't like the script, please feel free to delete it. Currently, no one is really maintaining (ie pushing patches to Linus) the scripts directory. Masahiro Yamada was doing it but has expressed several times that he doesn't want to. I got a kernel.org account, but clearly haven't had time to figure out how to use it appropriately. But simply deleting a file is simple and risk free, so if you want to make the change please go ahead. julia