From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05802C433EB for ; Wed, 31 Mar 2021 01:11:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E4314619DB for ; Wed, 31 Mar 2021 01:11:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233585AbhCaBLZ (ORCPT ); Tue, 30 Mar 2021 21:11:25 -0400 Received: from ozlabs.org ([203.11.71.1]:40965 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233317AbhCaBKp (ORCPT ); Tue, 30 Mar 2021 21:10:45 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4F97Xz2kppz9sf9; Wed, 31 Mar 2021 12:10:40 +1100 (AEDT) From: Michael Ellerman To: mpe@ellerman.id.au, Yang Li Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, paulus@samba.org In-Reply-To: <1615793096-83758-1-git-send-email-yang.lee@linux.alibaba.com> References: <1615793096-83758-1-git-send-email-yang.lee@linux.alibaba.com> Subject: Re: [PATCH] powerpc/xive: use true and false for bool variable Message-Id: <161715297781.226945.7968027542585068841.b4-ty@ellerman.id.au> Date: Wed, 31 Mar 2021 12:09:37 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Mar 2021 15:24:56 +0800, Yang Li wrote: > fixed the following coccicheck: > ./arch/powerpc/sysdev/xive/spapr.c:552:8-9: WARNING: return of 0/1 in > function 'xive_spapr_match' with return type bool Applied to powerpc/next. [1/1] powerpc/xive: use true and false for bool variable https://git.kernel.org/powerpc/c/9214cf0f48cac3c6aa86f34e14969b5eccb72fad cheers