Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4268465pxf; Tue, 16 Mar 2021 09:21:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1u5soaytfnzddGOxkOAe9/3Cu5L/WtP3eqgah8O3Vmmib4FKvbbYn7ckmx2CLJjVeeda2 X-Received: by 2002:a17:906:4f10:: with SMTP id t16mr30721685eju.531.1615911663759; Tue, 16 Mar 2021 09:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615911663; cv=none; d=google.com; s=arc-20160816; b=nJc3B7w58SKCObcexorDmhZn49d3JnefEcT0e6v2GZdrVzMD1lBPYIWPDy8R8mIIxC E2l98eJyKF7COTW8T6TpOHYNPmJ/R8b3ztIqo10heC2orO+xrYmrpyZyIEM7ixF6k4Le 6vbHINQ+THtclRm5HIs9p0dUEwwuGtyxtLI05Ja8L1bfayymArDHUP8m28DjCV8qR04k aUUB3noQzG12/DFMtJDrsf/ao8vBMXHvei2/d210TrQt1sxJsCwsCO8sCx8r+asXD6XN 943tikbBpl6a4NU1Tzi2NdvExCMkdXbh2JfoqPnuAXLFLHWUgt0irKeoeyQU37idX1ck uGjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=vjEsrDgQe1vL++BZzi0RrO+v+nrfjHXybhU6eYtMDgE=; b=yU4JR6qXSSDkoRBKcO9ZYhn6rReL0ACCTsaGCpp9nmnK1bmsujmK1NVd31rqngl7By rG17ZWLPAqvAN7zoorGCgXRF/T9h8LDJcffjRDQPca43dlVfLMkxZcDfGTXcQzt5MDcZ OJCs9mUE5oitCopPOpuJamH70r7HKdR8eFw+b9emu0cbK3spf1rQsvQRYNkmEuSV7rTH 7zxRifcsX/vzEMpD13zGYjYa+uVcjaNOc2o7czm6bnLJajf9JGtV6MFROd92vXwek68p XD+SuvJA09Z0oF+ESoIE00y23rCsJ6sKFPBuNSv4aTcPQOsHofjoQvroC7hebyRTJvhw LRNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qfBlXzqO; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si14286242ede.30.2021.03.16.09.20.40; Tue, 16 Mar 2021 09:21:03 -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=@kernel.org header.s=k20201202 header.b=qfBlXzqO; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235827AbhCPOEE (ORCPT + 99 others); Tue, 16 Mar 2021 10:04:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:60990 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235373AbhCPOD4 (ORCPT ); Tue, 16 Mar 2021 10:03:56 -0400 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 Cc: airlied@linux.ie, daniel@ffwll.ch, sebastian.reichel@collabora.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Junlin Yang 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-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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