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 7BCE8D172D2 for ; Mon, 2 Feb 2026 05:43:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9CF4B10E0FD; Mon, 2 Feb 2026 05:43:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linux.dev header.i=@linux.dev header.b="Gdq29vuB"; dkim-atps=neutral Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.177]) by gabe.freedesktop.org (Postfix) with ESMTPS id C2E4310E0FD; Mon, 2 Feb 2026 05:43:46 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------BFwfWzW7wgNI1JJQBKWrLIAJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1770011023; 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=N97wOwEAbbJCrf21efEQKpbTJGy5t4zfNwXrfTbc0Vo=; b=Gdq29vuBY4cmqNxfLjPD0z5eKjyeGcqIBrAqDQjILht5zX8s1OpT7Pju7Eb26hVbVSlcn/ 896CX4z+Avdubqefb8t+P1ZQX6zNqpZdP/+N8A4scq3nO7ua/VUUbYP3onOdnFTC2M6RmZ QnBV/zebhTPVCD+jESTXloMtEQLW7eM= Message-ID: <4f54e88e-7881-1072-1eea-99ae30a998a1@linux.dev> Date: Mon, 2 Feb 2026 13:42:45 +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. --------------BFwfWzW7wgNI1JJQBKWrLIAJ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2026/1/30 16:24, Dan Carpenter wrote: > On Fri, Jan 30, 2026 at 01:30:35PM +0800, sunliming wrote: >> 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, >> > Yes. But normally people change their email address instead of their > name. > >> but community patches have consistently used the name "sunliming" since >> then. >> > Consistency is less important than being correct... It's just a weird > thing to say. Are there other non-community patches with a different > name? It's fine if that's your legal name and we have made exceptions > for people who aren't able to share their real name because of stalking > or whatever... I have no non-community patches using any other name, and the accounts in other systems at my employer also use this name. Thanks. > regards, > dan carpenter > --------------BFwfWzW7wgNI1JJQBKWrLIAJ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


On 2026/1/30 16:24, Dan Carpenter wrote:
On Fri, Jan 30, 2026 at 01:30:35PM +0800, sunliming wrote:
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,

Yes.  But normally people change their email address instead of their
name.

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

Consistency is less important than being correct...  It's just a weird
thing to say.  Are there other non-community patches with a different
name?  It's fine if that's your legal name and we have made exceptions
for people who aren't able to share their real name because of stalking
or whatever...

I have no non-community patches using any other name, and the accounts in

other systems at my employer also use this name. Thanks.

regards,
dan carpenter

--------------BFwfWzW7wgNI1JJQBKWrLIAJ--