Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp436057ybz; Wed, 22 Apr 2020 00:55:16 -0700 (PDT) X-Google-Smtp-Source: APiQypKuWpIiHOjZDUuxSo++k+52sTCfpw3ef++h2o3RUHwxoaiX16aKHtWA8p8Xzp7WTYlCj4v+ X-Received: by 2002:a17:906:7c4e:: with SMTP id g14mr25234973ejp.382.1587542116245; Wed, 22 Apr 2020 00:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587542116; cv=none; d=google.com; s=arc-20160816; b=ncysVIM2ReKyFpLsAPwXzus+H1qDp14DDCw2Sb5LhmTPdxuyhmxiuYiL6uY3XCJT+4 aGa24YV03e1in7WZxH5zcq5mz4U+3osbitZFVncPZ9BerCn4V+QV954CRmlNRLnpEFKZ Mbz96hOI5FXNVAFhyLzm6WN77e31qjNqWtLvy4h2SjMXotxIEP2SZMenIBPtRJnozCTb eSdnULj1Ty0rKTzcfmm+UbKk9aqW91kALZhkWXythlMBm51rqqdSaVUmtX2dZLg0D42q a5FBWHn4qurimaaRB5iftGD5UatklENOB2YX4/ihT6X4KhfyV9HS8Up5i0qwh1MR+ds0 XE+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=0qzb9XgHtudnkz7lbBkw74ucY2oykHyzy4LTQbWvHpo=; b=kZLzWaVS2j5zeqBGF15vsp54zp3mkPwNSnYDINvr7uc38JdiMynu8XVMY1fLGely3m +LFOGXQLMkvDetF0KASzyJuvBP+UZIccbJYF83yaXUGcvRgqFfF3iUw2FsvRjMQHKWu8 GyjqG3OdqnVF1RVYLldl7HMYkyb4JR3rKTozGuVw8xFtYYfC5DJa1Fl0VMmbEzdQ5frz 3hzSCwD7hgOYk6C7/yIGmwdMVN6VXQ6Lhs0p3QvCKN9u11Z3kjN1cZ9HnXQc6JXWBQT0 LVE6QHYgll0OcIOwAujYCAg7ifumT0zrBp3VuWFkd26aBtU4mhPbwO/O8dktglfJpA9J dEGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nCoWE6HZ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw21si3239784ejb.158.2020.04.22.00.54.53; Wed, 22 Apr 2020 00:55:16 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nCoWE6HZ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726458AbgDVHvx (ORCPT + 99 others); Wed, 22 Apr 2020 03:51:53 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:49126 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726154AbgDVHvv (ORCPT ); Wed, 22 Apr 2020 03:51:51 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 03M7pfor015094; Wed, 22 Apr 2020 02:51:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1587541901; bh=0qzb9XgHtudnkz7lbBkw74ucY2oykHyzy4LTQbWvHpo=; h=Subject:To:References:From:Date:In-Reply-To; b=nCoWE6HZ8H6O8qQSDyrOT5zJ43L9Tou4oaazp47n6Ijl1WMWmLKQkThw4ZGe6hmrz JONjFjKyNkmERBzhWLAlHwhztGs5vQQbpSP7ClZpH561dv1OQJerSC/JZKewr1gubZ /QyT7Ym9vY1W7HPuYye+f1ZCqhA+fK19NHquAsMY= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 03M7pfAU086881; Wed, 22 Apr 2020 02:51:41 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 22 Apr 2020 02:51:40 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Wed, 22 Apr 2020 02:51:40 -0500 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 03M7pcH4025597; Wed, 22 Apr 2020 02:51:38 -0500 Subject: Re: [PATCH] omapfb/dss: fix comparison to bool warning To: Jason Yan , , , , , , References: <20200422071903.637-1-yanaijie@huawei.com> From: Tomi Valkeinen Message-ID: Date: Wed, 22 Apr 2020 10:51:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200422071903.637-1-yanaijie@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/04/2020 10:19, Jason Yan wrote: > Fix the following coccicheck warning: > > drivers/video/fbdev/omap2/omapfb/dss/hdmi4.c:461:15-32: WARNING: > Comparison to bool > drivers/video/fbdev/omap2/omapfb/dss/dispc.c:891:5-35: WARNING: > Comparison of 0/1 to bool variable > > Signed-off-by: Jason Yan > --- > drivers/video/fbdev/omap2/omapfb/dss/dispc.c | 2 +- > drivers/video/fbdev/omap2/omapfb/dss/hdmi4.c | 4 +--- > 2 files changed, 2 insertions(+), 4 deletions(-) Reviewed-by: Tomi Valkeinen Tomi -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki