[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dd0578a1-9726-4be2-f8a1-b164675b1b02@kernel.org>
Date: Tue, 16 Mar 2021 16:03:51 +0200
From: Tomi Valkeinen <tomba@...nel.org>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
angkery <angkery@....com>
Cc: airlied@...ux.ie, daniel@...ll.ch, sebastian.reichel@...labora.com,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Junlin Yang <yangjunlin@...ong.com>
Subject: Re: [PATCH] drm/omap: dsi: fix unsigned expression compared with zero
On 14/03/2021 04:15, Laurent Pinchart wrote:
> Hi Junlin,
>
> Thank you for the patch.
>
> On Fri, Mar 12, 2021 at 03:14:45PM +0800, angkery wrote:
>> From: Junlin Yang <yangjunlin@...ong.com>
>>
>> r is "u32" always >= 0,mipi_dsi_create_packet may return little than zero.
>> so r < 0 condition is never accessible.
>>
>> Fixes coccicheck warnings:
>> ./drivers/gpu/drm/omapdrm/dss/dsi.c:2155:5-6:
>> WARNING: Unsigned expression compared with zero: r < 0
>>
>> Signed-off-by: Junlin Yang <yangjunlin@...ong.com>
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>
>
> Tomi, will you take this in your tree ?
Thanks. Yes, I'll pick this up.
Tomi
Powered by blists - more mailing lists