Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2125463pxb; Sat, 14 Nov 2020 14:37:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyy+kBlXq6ZFGJm8FSSyDO/iRk3oc5RrpZjULl64yj8baOetRiBicL++RsbA5X3QPU4gp8V X-Received: by 2002:a50:a6c9:: with SMTP id f9mr9140773edc.158.1605393453557; Sat, 14 Nov 2020 14:37:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605393453; cv=none; d=google.com; s=arc-20160816; b=mWQwjWhu/5FBG9jQJXFDjlY1gSPFZ/6XMdw/uuJHX968GtAIsb6Nwgi+ab61yDNRr4 lDTD2Yt7mB0rK7oxpM67TUaKpFRke+87t5rHoPy5dsPWz8oT48YVktWAxT10aJmFKCE5 LZPRlfYej09eXetyrVcTiTlcOusjiEyEYvbjhnz+lgEe8l4RxA5FKda+h7cXkJqnP9VI eYDRUh/qjMG5VL/40g4wH4RY1bFehoLWowW4tGhECz0l1UyS5fjrT8npr+HfsB4jMsi0 4G3yT1IK/6d9Yh7coUdt4TcVwW47l4Zfe/2yXqtnjq4mXb4/edM15GvfcNIeYM/VsOd1 IrBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=8pNBFPd15p13CSAdUj7SHyNbsL7k0klBrFO6UPoWziw=; b=TY0gXEeP1NBZ8lHnDltJS788zGTiczcn9H9FkLdnEx2cN0VBki9sL4URuR9CMoulA0 UeCAEhwe4uh9TEKrqX0/8mLzHhKo883Hezq9RY8igs9ofG1jbfCio7nj9DN8PbuVCb9M HIPiyxpFKmT1D+vv2UL4wbHg0J2fmTKvLqD2cEuprZzKZST48DGMEyOQ1KkgVPJLOHdu kmHGzpd5Ix4we1N7OTUdw3NYQJMcBWA9DXjXovtnbwmLAigXr+TctzHS4npP4E2DgOTo CMuNIGrKhflkX7wBL76Rek+xtMhsYFyZ6SySx5AM7HgEZrmD4Vaw2JlCR3ZtZAKeQLdt xvoQ== 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 dn7si8633429edb.498.2020.11.14.14.37.10; Sat, 14 Nov 2020 14:37:33 -0800 (PST) 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 S1726239AbgKNWbq (ORCPT + 99 others); Sat, 14 Nov 2020 17:31:46 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:37403 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbgKNWbq (ORCPT ); Sat, 14 Nov 2020 17:31:46 -0500 X-Originating-IP: 86.194.74.19 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 3EF4B240003; Sat, 14 Nov 2020 22:31:44 +0000 (UTC) From: Alexandre Belloni To: a.zummo@towertech.it, "xiakaixu1987@gmail.com" Cc: Alexandre Belloni , Kaixu Xia , linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org Subject: Re: [PATCH] rtc: da9063: Simplify bool comparison Date: Sat, 14 Nov 2020 23:31:43 +0100 Message-Id: <160539309317.847457.7971248340408878350.b4-ty@bootlin.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <1604649637-1014-1-git-send-email-kaixuxia@tencent.com> References: <1604649637-1014-1-git-send-email-kaixuxia@tencent.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 6 Nov 2020 16:00:37 +0800, xiakaixu1987@gmail.com wrote: > Fix the following coccicheck warning: > > ./drivers/rtc/rtc-da9063.c:246:5-18: WARNING: Comparison to bool Applied, thanks! [1/1] rtc: da9063: Simplify bool comparison commit: a48c6224ae07bed02893c58073ca2942acb5c3d5 Best regards, -- Alexandre Belloni