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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E26F0D73EB8 for ; Fri, 30 Jan 2026 05:31:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0D15F10E0A8; Fri, 30 Jan 2026 05:31:39 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linux.dev header.i=@linux.dev header.b="weB45yk7"; dkim-atps=neutral Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2C9A710E0A8 for ; Fri, 30 Jan 2026 05:31:34 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------oq8eV9guKMS4ahLz4wiNoGjd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1769751092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6kgcMP96ORjuUDoof7NRU6R5gUZCWfu368gPBoEpEbU=; b=weB45yk79BRQpTg7hEi9tZ2dK14lKXRQYp0ZHadVi+13IT1GjQSBamiaRmevrR+IhGkTUR xywW3fdw/mLbdD4ZUoBvo0GqJ2Zt+6s/TD8A4GFBbukdlF1vpotxqcv7zEmYid58Z8931G 2NMCRRPZeNqZni5XN7UPMrlzPON0uak= Message-ID: Date: Fri, 30 Jan 2026 13:30:35 +0800 MIME-Version: 1.0 Subject: Re: [PATCH RESEND] drm/msm/dpu: Fix smatch warnings about variable dereferenced before check To: Dan Carpenter Cc: robin.clark@oss.qualcomm.com, lumag@kernel.org, airlied@gmail.com, simona@ffwll.ch, sean@poorly.run, marijn.suijten@somainline.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, sunliming , kernel test robot , Dan Carpenter References: <20260129024919.30449-1-sunliming@linux.dev> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: sunliming In-Reply-To: X-Migadu-Flow: FLOW_OUT 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is a multi-part message in MIME format. --------------oq8eV9guKMS4ahLz4wiNoGjd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2026/1/29 15:07, Dan Carpenter wrote: > On Thu, Jan 29, 2026 at 10:49:19AM +0800,sunliming@linux.dev wrote: >> From: sunliming >> >> Fix below smatch warnings: >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp_v13.c:161 dpu_hw_sspp_setup_pe_config_v13() >> warn: variable dereferenced before check 'ctx' (see line 159) >> >> Reported-by: kernel test robot >> Reported-by: Dan Carpenter >> Closes:https://lore.kernel.org/r/202601252214.oEaY3UZM-lkp@intel.com/ >> Signed-off-by: sunliming >> --- Previously, a maintainer suggested that the name should match the email address, but community patches have consistently used the name "sunliming" since then. >> Could you capitalize your name? It's supposed to be a bit formal like >> signing a legal document. >> >> This isn't a RESEND, it's a v2. A RESEND means we accidentally ignored >> your email so now you have to send the exact same email again. >> >> https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/ Get it. thanks. >> regards, >> dan carpenter >> --------------oq8eV9guKMS4ahLz4wiNoGjd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


On 2026/1/29 15:07, Dan Carpenter wrote:
On Thu, Jan 29, 2026 at 10:49:19AM +0800, sunliming@linux.dev wrote:
From: sunliming <sunliming@kylinos.cn>

Fix below smatch warnings:
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp_v13.c:161 dpu_hw_sspp_setup_pe_config_v13()
warn: variable dereferenced before check 'ctx' (see line 159)

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/r/202601252214.oEaY3UZM-lkp@intel.com/
Signed-off-by: sunliming <sunliming@kylinos.cn>
---

Previously, a maintainer suggested that the name should match the email address,

but community patches have consistently used the name "sunliming" since then.

Could you capitalize your name?  It's supposed to be a bit formal like
signing a legal document.

This isn't a RESEND, it's a v2.  A RESEND means we accidentally ignored
your email so now you have to send the exact same email again.

https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/
Get it. thanks.
regards,
dan carpenter

--------------oq8eV9guKMS4ahLz4wiNoGjd--