Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25E3BC433E9 for ; Tue, 16 Mar 2021 14:03:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DCDF565071 for ; Tue, 16 Mar 2021 14:03:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DCDF565071 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D82F6E3F2; Tue, 16 Mar 2021 14:03:58 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 303B76E3F2 for ; Tue, 16 Mar 2021 14:03:57 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 6FED564F9D; Tue, 16 Mar 2021 14:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615903435; bh=ho8VK/nwBd5H2y4bKi45p7YEcMtEVUmmuah52IEH4i4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=qfBlXzqOKN8+OZvXkcSig6NsWRFQ09BsPvxD0eTyC3mDElfi3qpbcjT/puy5EdIBX Uo8/Lz/Vk4fLgYowCsw+dxO1JF9ZLRbW88SjX6JdLQBs/EkZG4Ozp93/3t0yg0s/kh xty6RA9AlV/Ce2yAkox6W6hG2Rykt0TdEYguHOm38Nc0StjP4SnP2oimyEMNzd3kfW vllR0K0GOk0nibk1GLeZ4L0NZAMCvFHIM249/weo6mX3igAPnoqjGXVuPfTi8inhNI sigi/vc8KYEbiZed4fXaNYXmTCD7GwQ5zXe0xRw126ptZxfBbMeO+pjrlLwB5MzU0x aFEng6GGMMPSg== Subject: Re: [PATCH] drm/omap: dsi: fix unsigned expression compared with zero To: Laurent Pinchart , angkery References: <20210312071445.1721-1-angkery@163.com> From: Tomi Valkeinen Message-ID: Date: Tue, 16 Mar 2021 16:03:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Junlin Yang , airlied@linux.ie, sebastian.reichel@collabora.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 >> >> 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 > > Reviewed-by: Laurent Pinchart > > Tomi, will you take this in your tree ? Thanks. Yes, I'll pick this up. Tomi _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel