Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4065447ybg; Tue, 29 Oct 2019 01:24:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2NLaC+WPf4h20x2ZJwX19IjvTWl6J4NYI6AYYAlHuoxpwWRR2WGxXTD38X58w2BBZHEUW X-Received: by 2002:aa7:c5c5:: with SMTP id h5mr7483139eds.87.1572337487409; Tue, 29 Oct 2019 01:24:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572337487; cv=none; d=google.com; s=arc-20160816; b=BnPycn/9UW1ao05qZIvvYyS1pS8WZ9g1SAK0FohD39yvnCovEMHvstzWiFqNeZ+RJ+ y8MPkwVlUUqKSXzYY65/YxDShrW5qWrB3nAKlDxyVSq5iE0Yt/r2P1wUYweDXHuW95fv 1R9b6NplMQn9k6zsq/t0C2TYPbXZKV6z6+RrlzCIivzme0aK9b1M7v/NXd9Qn9M0eit3 bSDC8Ekb1OrdGCcDPC0xDGEqyX6avSm5UW4djV9nGNxXs5Rbrm5g2GdiUHhKJMmwztVg SzDC4wzzCXNRMT0wqdjWuni8KJvaPd+YxHnX7tE34DTclTN/ymMV1NCGjQvRdj7A/VkZ HLgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=zXO/8cyF+ovBR8syYWZ7NPcga9VHQrumYWTLb4MSqY0=; b=oMKtg5ogKeKPRraKN+J1G3VXa4Lw4wUGRvLYXkh/GTl1ggKMC67Afm111Z1kHE/Gqh C+aOUlYQnimOwX2nJSCw0li1SMwwdlPx/prUOMsReJHfqtSXrwz5x98p26QgaiEET0Pa v9zBs+4l9/tSfsXNW5pksRYvDpgsfdRS2AJF5+iwg19uD2ja4skMdeC/nbKzOMKpJ9zc iaUDoYFWHfbmlNZiAPOoq27AD+VHRrJ2VXqdK54E8AOmsxzIP8fD/W/diccQ6LSkGjjK /LDqieXUcnWm9NsCoBoCFKqYMuQdzAhUPnclj5uNzREZzT7eTYp4eHNcrAfG5nAhj/+u 7BSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sjkBTnV7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jr17si7659868ejb.325.2019.10.29.01.24.23; Tue, 29 Oct 2019 01:24:47 -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=pass header.i=@gmail.com header.s=20161025 header.b=sjkBTnV7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728908AbfJ2IWl (ORCPT + 99 others); Tue, 29 Oct 2019 04:22:41 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:34933 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728550AbfJ2IWk (ORCPT ); Tue, 29 Oct 2019 04:22:40 -0400 Received: by mail-pl1-f196.google.com with SMTP id x6so3153418pln.2 for ; Tue, 29 Oct 2019 01:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=zXO/8cyF+ovBR8syYWZ7NPcga9VHQrumYWTLb4MSqY0=; b=sjkBTnV7Guvfs+Z8OZf0gV7sHV3mo4ataXjg0YyLe1icOgl0DkniiSCNJ9V3IUcH7K fDFkRuE1KtzGNnXClFSVBF+ZRLIRakPwsg9U6BDigR98Z+IWEPxZk/AliCJA3zZtnTol 8kBjbRKHAxRFUYThH6CB6iJooVE91bUhtoeXrlmF1XyBALfxMxtySwM58KldQDvWGmsq bz/fUqKhQCATsh7d23i3aPV79mnPqfTb8UJSVsiLWAqaXj0iip5f0KrKzFQvGFZALHGd D9o7WzTGcm0xcaoIsnnXIbJd/yVllqBCrCxhEid+ITY+3y9Lwrk2eXVYGyDhgwP9rh6V xI4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=zXO/8cyF+ovBR8syYWZ7NPcga9VHQrumYWTLb4MSqY0=; b=gX8JEttJPfgYpJkqMBr9HIXoK867SEby6A3XVVMtaQP2RYTUGC2w+Q+ChwNtfJkK+5 OCpwStlfZBgFvLX/EIyt/scuVaeSBmWHcobBcJoJPauU6Ip4sBWb4mca8Ai3DsN+iUfV ANR6GLglU1JeZQw/DsIUNd2X8jHlOf+/+gj7bY6fkfXfbldhSu3t0qPEi8oAfH9Duqwd JfA0n+ziYSh2DBXOpC291xmfPUiY2MMsLjlFm3vdsKVOI0SIrKRqPENYnB+iqljBDYrW vohVb4siLtOSb3bRBuZ5INvS3VcGlz/CYcPgejT6768GICxQABP3EDBA4iDV3hofOvWJ oBsQ== X-Gm-Message-State: APjAAAXNesT0QsmFALh3eoTYN+WI9m/JWgju1DD29ivCV4fkmqRFblvg eXZ11oPmP8p9EihWR5x1tfg= X-Received: by 2002:a17:902:7c07:: with SMTP id x7mr2717230pll.210.1572337359983; Tue, 29 Oct 2019 01:22:39 -0700 (PDT) Received: from saurav ([27.62.167.137]) by smtp.gmail.com with ESMTPSA id c69sm11848071pga.69.2019.10.29.01.22.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 01:22:39 -0700 (PDT) Date: Tue, 29 Oct 2019 13:52:16 +0530 From: Saurav Girepunje To: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, groug@kaod.org, clg@kaod.org, christophe.jaillet@wanadoo.fr, saurav.girepunje@gmail.com, tglx@linutronix.de, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: saurav.girepunje@hotmail.com Subject: [PATCH] powerpc: sysdev: xive: Use true/false for bool type Message-ID: <20191029082215.GA7160@saurav> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use true/false for bool return type in xive_spapr_cleanup_queue function. issue found using coccicheck . Signed-off-by: Saurav Girepunje --- arch/powerpc/sysdev/xive/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/sysdev/xive/spapr.c b/arch/powerpc/sysdev/xive/spapr.c index 33c10749edec..74e3ffae0be6 100644 --- a/arch/powerpc/sysdev/xive/spapr.c +++ b/arch/powerpc/sysdev/xive/spapr.c @@ -533,7 +533,7 @@ static void xive_spapr_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, static bool xive_spapr_match(struct device_node *node) { /* Ignore cascaded controllers for the moment */ - return 1; + return true; } #ifdef CONFIG_SMP -- 2.20.1