Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1446629ybj; Fri, 8 May 2020 01:19:04 -0700 (PDT) X-Google-Smtp-Source: APiQypJm2KwfnCu1CRpbaY469vAUMZkF3T7DXTdeR7eY02Q4sFmO8TC9BtA5EUj+4Cw89B55NQPG X-Received: by 2002:a05:6402:a43:: with SMTP id bt3mr1065426edb.157.1588925944519; Fri, 08 May 2020 01:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588925944; cv=none; d=google.com; s=arc-20160816; b=bh2Xz80NPALUzPo3Cq0GCv1ZhhhpGOFVfHkCuui/vHkbMw0HnVNnZukPhZZcz2TPIM kjWxI5m8T0Ud9FftPbbqstMB2+Ug8tfD8bp8kNalxfb/fxblqm6Csu0cSeEJ5fqUEWvK rt9rOCxQx5X3u/L1kPokl95toJZcAC1DkTY5ZBRIKiCWlqh3ME9TkU3n3tRczefRrYa4 pOlib2VJpas/rnyqJLX+BKkSmF+lyJ4Twp8W6tsVFUEGxcr0SB58eM4i0t92BHNt+dPI vyyTG2dCLwt+TPQkKAxqfJWWSyFcyM8MSYdidfqY1/LP7CV02LufRNxhpHThl9ifxVu5 dxaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Q+BamE3ASAFBZ68gIprCCAuc5n4tI6nmcvfyYRppIqM=; b=YmUCQp+dT1h7b7IlVIYfAoPc6TL4IPPh2iXFjYeFB0K0dtwHu0GbiVBp2n50W35nX6 MF4nYNZvVclM9wqBGUq+vd17FCCvC3GYNTorZKUi7BVvmOLoZc63drtQVf3PY1t+aSE2 IsyWC7WWFl0SgjhcCThZs3TgtgtA5Uoq5jAN+/XcleVxTsIJnVFV7qgDIPhgc6VyTY33 ZdIFMjUDKCG2wPUfG0d17sGCJ97/Zzq5sm+4+KLPMVPtv25u9OQT3u22i6L062iH+0Wc tcZ67oioV284IDJiBZbdzEuh6h8lu0ZZkq+iFGMQglj1pOUbgbGtwjMm8aG8wHwQVVDa 1QsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=VDpXtkg8; 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 d21si504744edx.302.2020.05.08.01.18.40; Fri, 08 May 2020 01:19:04 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=VDpXtkg8; 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 S1726689AbgEHIRG (ORCPT + 99 others); Fri, 8 May 2020 04:17:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726365AbgEHIRG (ORCPT ); Fri, 8 May 2020 04:17:06 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E87AC05BD43 for ; Fri, 8 May 2020 01:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=Q+BamE3ASAFBZ68gIprCCAuc5n4tI6nmcvfyYRppIqM=; b=VDpXtkg8x50anrq+65d7Tr6chP b/qLdMbKJ4YA8CXopAw3eP9Dtta/tW5Uvs/laZNLZEpyXkHIsNsw4c5Z74M1dyaQ3I/ELs0Rr+3T7 IGTZM9Az6W5/I1pq0NOO2ZNWH1ObzfK74Dzph/X/rbIYPQINsI/B71y+kprugmVPuyxSDgCbSrhNP yW4KsSxMoLF/jdmjhEe8566KFgrHm8O3vPN5EWm6ynbDVSKLCdxMbc6SDbcuihBzXtZ2qS6s/73gc TIse3GOk15yxenxHGiMiLSRDwZgSoLHMB5dYTL/etwsyy8DDpZGqtj2SlJDHjvSKAzmd6oRIf8agc u08IPSAw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jWyBM-0002z5-0Z; Fri, 08 May 2020 08:16:32 +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 1F77D30018B; Fri, 8 May 2020 10:16:30 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 048732038FB83; Fri, 8 May 2020 10:16:30 +0200 (CEST) Date: Fri, 8 May 2020 10:16:29 +0200 From: Peter Zijlstra To: Jason Yan 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, linux-kernel@vger.kernel.org, linux@rasmusvillemoes.dk, Julia.Lawall@lip6.fr Subject: Re: [PATCH] sched/fair: Return true,false in voluntary_active_balance() Message-ID: <20200508081629.GN5298@hirez.programming.kicks-ass.net> References: <20200507110625.37254-1-yanaijie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200507110625.37254-1-yanaijie@huawei.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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!