Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2341740ybb; Mon, 30 Mar 2020 04:29:10 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsBttTSCAk2xoUXfY1NqnLZGhkWDXzzsJWD/vEHjFbWMtgmHLksDkkY8rjJv3Xx7oUGbe+T X-Received: by 2002:aca:c596:: with SMTP id v144mr7288319oif.136.1585567750151; Mon, 30 Mar 2020 04:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585567750; cv=none; d=google.com; s=arc-20160816; b=kDB93dJ4p1ymIw0nrilkFVLUi4Aof1kyC5i2cDW+0vypFhjAWaAPLaTS1iW5vBhPXb vXlZ95F7DWLoErcD0ByxfSJfW80ZABzS+KJzSKFtgPIgypeUE/FypHHtAGK0yz+JEoOb 6zoLubzqmUgJ3sXivvSNywjc7vtL95r4XpfOSGH/oz/03VDtyRi0fIsjK3sIHvhv1wH3 tL3bhII713+v/ME6B2q5p6HMYnuejUdbUF2MOBrvdQO31bcPx2RGIPHVLrywmZuyIfFJ g9PH815neG6E+yg68V9SCiGD0PbRoko1aWcQ5Im/MRNsq3tQl33AOYGyEl+QPDMTRasD 1OHA== 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=6HSKuiUK92cwLefCahGkgWj1LgTRxgjNuT2ADazqsek=; b=v9aTYFiPlJzQdtQpb2u90445rXaTvteqUnwCH28fSIKKrOsNI82ZGE/h404Vw3IgxH 68extaw8eBgfp7n2DyOdGN89q9IarLGQ9uD+PJLTDNvGexl3AU17nPKBw8cgUnxfwc6r 4DTO8a2am9Z5ztOxlU4yUFn19d2RevbA8poKr0aeTla/CXFirnrKPrr60oXVJkg2QCM9 qvCOyvqCACCmWztY6XzoTCOoyqCmA4dvlJXneZT6Pi9G90pNt9E0fZ65hr9J2GtVr1R1 FpuRCym3HA5kc66H/ULVo2EGM2Hgf651KIz+O9WhOVOWbFPyfra/NQ2VVVAGVQ3yQG+t T4Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=0pGJ266V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4si5657544oic.213.2020.03.30.04.28.55; Mon, 30 Mar 2020 04:29:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=0pGJ266V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729689AbgC3L23 (ORCPT + 99 others); Mon, 30 Mar 2020 07:28:29 -0400 Received: from merlin.infradead.org ([205.233.59.134]:52698 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729237AbgC3L23 (ORCPT ); Mon, 30 Mar 2020 07:28:29 -0400 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=6HSKuiUK92cwLefCahGkgWj1LgTRxgjNuT2ADazqsek=; b=0pGJ266VLnq8q9CG2dCeXKvW4s zG14zn5P7ZAJMM/U4wtxqxU6/OkwkcJYK0PFLUTdKcLp7xKJV3wU8gjA+FHIh2xGqmAxY76d6AZRt V1Mn/xpGwyvr1vBn+aypfyMxXJ3RYq1YeRODjm4sjgRe3ln7DxVI7vERSLqnQ5YuNnD3dOXWn6Qfn fIyXFLf+/aOBx4wuzSg+PF6rYbb6OiU+zuv7tjeG2DoizD+OxSMiuSN8Izki5OFdOep/bOED0imps j7VQIztSRJgNF5PYu+YFoH60ndZXkPsg60XWk/q1mfdxZgRlY+UykBwDGHmTSkENPqm8jvs83Iz1R p4Oig+1g==; 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 1jIsaA-0002Ed-Jq; Mon, 30 Mar 2020 11:27:54 +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 C4DE1300F28; Mon, 30 Mar 2020 13:27:52 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id AE03329D04D69; Mon, 30 Mar 2020 13:27:52 +0200 (CEST) Date: Mon, 30 Mar 2020 13:27:52 +0200 From: Peter Zijlstra To: Jules Irenge Cc: julia.lawall@lip6.fr, boqun.feng@gmail.com, Jules Irenge , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , "open list:SCHEDULER" Subject: Re: [PATCH 02/10] sched/topology: Replace 1 and 0 by boolean value Message-ID: <20200330112752.GJ20696@hirez.programming.kicks-ass.net> References: <0/10> <20200327212358.5752-1-jbi.octave@gmail.com> <20200327212358.5752-3-jbi.octave@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200327212358.5752-3-jbi.octave@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 27, 2020 at 09:23:49PM +0000, Jules Irenge wrote: > From: Jules Irenge > > Coccinelle reports a warning inside sched_energy_aware_handler() > > WARNING: Assignment of 0/1 to bool variable That's definitely not a warning and quite sensible in any case. Please learn C.