Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2125106pxb; Sat, 14 Nov 2020 14:36:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPBFa8qBNcRwasaZt+hp02YLdWRh07dj0RXY5mnr/tlBYls/PKo9dsw6PHl42JtNYfHQxV X-Received: by 2002:a17:906:6949:: with SMTP id c9mr8156772ejs.482.1605393394091; Sat, 14 Nov 2020 14:36:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605393394; cv=none; d=google.com; s=arc-20160816; b=X11yDPFjLnix6G0k/5UqPzdwNu03iXCeTSWOxYIdguz6JgcSvn2PVW6t+cTQenYNba rvJxp52OJfOGOowhsYhnDY3YcFhpTjDoJ718WrEoq05b5u74sX0Bf4PMQGRe+f8xOgSa Lk4fkp7wcY0YDb759ORYOaTBjWfRukeev4tw8snDVTJbDe8iCfMu0w1/V+oqZYsFeH6S /4Z2xCaxvpV1bj9t0tdXBzQYljZYQ43QjABa/wjI+V9hdwSuDOwoRU7tunVdEkp66Kpi UEpL+rRwB0Y+CpiHJJAeTtcUGJjkNp+Y0NDx9mfux7zJbxC5Sm8OS79GctpT/MVdrfyH wuHA== 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=faLSQvNMA31CcWD/EYat23f4EFrgzob9TP7zXlrsfeI=; b=nu8pEbJeX0i10Ln+pMiFL8UNfOWreXrkCfPTRaIPxQXRqnO9rpA4yWADQXVIQxXTC6 QdlBYv/Lh3hOAmAhaIDGogbNMTpLdxa73Qv+7r/9ZO/P6DU4hKqcpZ5A2fFpVnFwZJ6i 2y8ImzYSzZy1BznlZJtK4Xv/QP88hqripb7AUaXaiPNaZnCXBAEk3p+FAsT0xOMyrx6T XMRWQ+ZKKM2qaYfm4j+uMhxoxRRSgquF/GMK5j/vEYk3OqcHuxFMvATKRbixz+kKbBHH t5ug4JK6tXyTLiHPbhafEOXcqYuZHDu2qOB9RLPwP+RYEKWE+TnwugXrEselYEHtdk3K 7ofw== 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 g2si8820831ejf.243.2020.11.14.14.35.57; Sat, 14 Nov 2020 14:36:34 -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 S1726182AbgKNWaj (ORCPT + 99 others); Sat, 14 Nov 2020 17:30:39 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57087 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbgKNWai (ORCPT ); Sat, 14 Nov 2020 17:30:38 -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 relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 9529E60002; Sat, 14 Nov 2020 22:30:36 +0000 (UTC) From: Alexandre Belloni To: a.zummo@towertech.it, "xiakaixu1987@gmail.com" Cc: Alexandre Belloni , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Kaixu Xia Subject: Re: [PATCH] rtc: sc27xx: Remove unnecessary conversion to bool Date: Sat, 14 Nov 2020 23:30:35 +0100 Message-Id: <160539301049.847178.9602730906978910840.b4-ty@bootlin.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <1604647854-876-1-git-send-email-kaixuxia@tencent.com> References: <1604647854-876-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 15:30:54 +0800, xiakaixu1987@gmail.com wrote: > Here we could use the '!=' expression to fix the following coccicheck > warning: > > ./drivers/rtc/rtc-sc27xx.c:566:50-55: WARNING: conversion to bool not needed here Applied, thanks! [1/1] rtc: sc27xx: Remove unnecessary conversion to bool commit: 825156a5eeded9bcb55e9c36d4b4b72bf20bcba6 Best regards, -- Alexandre Belloni