Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1896074ybz; Thu, 30 Apr 2020 07:22:47 -0700 (PDT) X-Google-Smtp-Source: APiQypKarMTkWEZRzWHpnWiV0bvr1wz4nj28iisoRAMnROHOBf5tgPECnFJGANQp6FNf7i3JFdre X-Received: by 2002:aa7:c753:: with SMTP id c19mr2773632eds.21.1588256566895; Thu, 30 Apr 2020 07:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588256566; cv=none; d=google.com; s=arc-20160816; b=q7f6NxXz3C+GJTStpnUXLXtlsIcKwabPsrvMJuFjP0LTudHdB4ZDRhIYvEunPiljGG bP/WDDe08NeGrJf4TRSKDWV67nTUX7RbT4BhkLRzwZHrDSVkfryDGfutCaycQub21vNm sjfAogMBz9Q7KNu/ZJ0OQZZgOqSMU3id/kWtgev6RhIzkUtKimd1tRT7hRinzivNLRIy uMd9mPNGJA+k1TE0sTN8ixkV9T4EfnfTScWIhNe3nLVMcm8/uO9Plv9uXll5o8mFdM1+ NXZR4XXWtNLol4CcYp8U1Z/xifFMPCiySiTKpTFpyDKGclZcxODAQmYqkgYqEEhx6sIE 5XuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NzfT81kGHnQsAx2JTEXW/SQZQ0OLJqB6TxHRJCbiLiE=; b=FFfATunpHIsmv0Blizjxgj4SoZvMoUUZzUCCnm9kteT4a8LYcN8Kn0lawCJ0KCfSv+ wL1UqNAyFPLPhvas88kmmjXuMybNroUknAUqGINX60wWuAa4KIWEbUJ04ZQWe5As4b4B thKqpqH0Dh5avIFMurYlWAQngN0GSS6+/ywyk7sM0t2AmIBhd3ePIiTd5jmyQ1gaMNZe 4mZ/9W4a0oCsbTvR0jint3wqXSEfFzqHZM6tjaSSTXfDnslDE9Xzuw+hqi6Faiq6soP+ Ws1VsIpi0ZrXRLegjhyPDDQe6yFBnJEMfLFwvlYbrSQ8mtUcGYdw1u8f3F9HJmtf6Y/x Tl0Q== 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 p10si5261596edq.609.2020.04.30.07.22.22; Thu, 30 Apr 2020 07:22:46 -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 S1727809AbgD3OUA (ORCPT + 99 others); Thu, 30 Apr 2020 10:20:00 -0400 Received: from sauhun.de ([88.99.104.3]:40442 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726309AbgD3OUA (ORCPT ); Thu, 30 Apr 2020 10:20:00 -0400 Received: from localhost (p5486CDDB.dip0.t-ipconnect.de [84.134.205.219]) by pokefinder.org (Postfix) with ESMTPSA id 7109E2C08FC; Thu, 30 Apr 2020 16:19:58 +0200 (CEST) Date: Thu, 30 Apr 2020 16:19:58 +0200 From: Wolfram Sang To: Jason Yan Cc: mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, linux-i2c@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: powermac: use true,false for bool variable Message-ID: <20200430141958.GD3355@ninjato> References: <20200426094228.23829-1-yanaijie@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VV4b6MQE+OnNyhkM" Content-Disposition: inline In-Reply-To: <20200426094228.23829-1-yanaijie@huawei.com> 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 --VV4b6MQE+OnNyhkM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 26, 2020 at 05:42:28PM +0800, Jason Yan wrote: > In i2c_powermac_register_devices(), variable 'found_onyx' is bool and > assigned '0' and 'true' in different places. Use 'false' instead of '0'. > This fixes the following coccicheck warning: >=20 > drivers/i2c/busses/i2c-powermac.c:318:6-16: WARNING: Assignment of 0/1 > to bool variable >=20 > Signed-off-by: Jason Yan Applied to for-next, thanks! --VV4b6MQE+OnNyhkM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl6q3o0ACgkQFA3kzBSg KbZL7g/+Jx3DwuNXMIDZziy2bjDNXsNXe3zRIKEzNCL2nx1rvSJb8H4V+TeBXxvZ CFVMrIqx0ZBSnhCPZiIJnQFdWp6EG7ai83+3e2JkJEE7decC3OT0ccwYPc/zb0VK 6/DSHsduSnybuID3uEAh4URl9rMo1R3pAW+BH4s9VKd3mFHiX/ut7YBXtp8WNF+u QTrl17pTLJkUKZGziIVK20zcp38lmKXDpdlJuNqDFH8NLNofjujvCn9809T1MOgS u6yr0hAUTeN6jEGwEMKM4mwyiImescsj6ZGCY7gUK38s0Cq4Cm4/T3nTMSyqscfP GAmOJbqZ5uuwFaj0XClO+kNscv0cCrnK0wSGZDhrqI6pxyxpUGd6atz6HTCMCkB6 /tlsX+JiOIRPgetDoWBRvp6hAUPW7Fgu/SHMR/yw36q8vr4oJbLqq/CIv34tp340 tFrD4L0B0gynE+/wK1qTGS2kWhvuIU3m6ckO9hE/2Iz/S57UUJKt0aFq91uuWDOV Jf0KsWTtJLHlKRPp9HlQDhQT1dIWIk9kaqqjgQU3oa6oCq3TvdvC5DfUPl1xzgxT h9VIXW0Hy7x4JMGdmrqbHL5Wo0WPN/FzEp/7HYOrFlLKnLCncIujv/7oJSdQ43at cQcR2BqBcwYKYyS0SQuhm66GIeYmZ4xO5fQ5dL3RTE0wCPP/WPQ= =Hy2w -----END PGP SIGNATURE----- --VV4b6MQE+OnNyhkM--