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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C26F1C4332F for ; Tue, 7 Nov 2023 17:07:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234353AbjKGRHX (ORCPT ); Tue, 7 Nov 2023 12:07:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjKGRHV (ORCPT ); Tue, 7 Nov 2023 12:07:21 -0500 Received: from 2.mo576.mail-out.ovh.net (2.mo576.mail-out.ovh.net [178.33.251.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD2C9B4 for ; Tue, 7 Nov 2023 09:07:18 -0800 (PST) Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.143.216]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 80BD42C679 for ; Tue, 7 Nov 2023 17:07:16 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-2xd47 (unknown [10.110.171.144]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 97EB71FE72; Tue, 7 Nov 2023 17:07:15 +0000 (UTC) Received: from RCM-web9.webmail.mail.ovh.net ([151.80.29.21]) by ghost-submission-6684bf9d7b-2xd47 with ESMTPSA id XCnmJMNuSmUKdgAAOnoGkA (envelope-from ); Tue, 07 Nov 2023 17:07:15 +0000 MIME-Version: 1.0 Date: Tue, 07 Nov 2023 19:07:15 +0200 From: =?UTF-8?Q?Jos=C3=A9_Pekkarinen?= To: Alex Deucher Cc: harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, skhan@linuxfoundation.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Bhawanpreet.Lakha@amd.com, linux-kernel-mentees@lists.linux.dev Subject: Re: [PATCH] drm/amd/display: clean up redundant conversions to bool In-Reply-To: References: <20231107082839.92061-1-jose.pekkarinen@foxhound.fi> User-Agent: Roundcube Webmail/1.4.15 Message-ID: <682272a58c1ddd564271d5828a06947c@foxhound.fi> X-Sender: jose.pekkarinen@foxhound.fi Organization: Foxhound Ltd. X-Originating-IP: 23.137.251.61 X-Webmail-UserID: jose.pekkarinen@foxhound.fi Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 7981504442826991297 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedruddujedgtdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepggffhffvvefujghffgfkgihoihgtgfesthekjhdttderjeenucfhrhhomheplfhoshorucfrvghkkhgrrhhinhgvnhcuoehjohhsvgdrphgvkhhkrghrihhnvghnsehfohighhhouhhnugdrfhhiqeenucggtffrrghtthgvrhhnpeekhfeguddufeegvdelgedtvdffgeehvddtkeevkeejvedvgeeitdefleehtdeitdenucfkphepuddvjedrtddrtddruddpvdefrddufeejrddvhedurdeiuddpudehuddrkedtrddvledrvddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeojhhoshgvrdhpvghkkhgrrhhinhgvnhesfhhogihhohhunhgurdhfiheqpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-11-07 17:39, Alex Deucher wrote: > On Tue, Nov 7, 2023 at 4:44 AM José Pekkarinen > wrote: >> >> This patch will address the following couple of warnings retrieved by >> using coccinelle, where there is an explicit conversion to bool that >> are redundant. >> >> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c:94:102-107: >> WARNING: conversion to bool not needed here >> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c:102:72-77: >> WARNING: conversion to bool not needed here >> >> Signed-off-by: José Pekkarinen > > Thanks for the patch, but this was already fixed by Srinivasan a while > ago. My bad for not noticing, sorry! Thanks though! José.