public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Liu Ying <victor.liu@nxp•com>
To: Guangshuo Li <lgs201920130244@gmail•com>
Cc: Andrzej Hajda <andrzej.hajda@intel•com>,
	Neil Armstrong <neil.armstrong@linaro•org>,
	Robert Foss <rfoss@kernel•org>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard•com>,
	Jonas Karlman <jonas@kwiboo•se>,
	Jernej Skrabec <jernej.skrabec@gmail•com>,
	Maarten Lankhorst <maarten.lankhorst@linux•intel.com>,
	Maxime Ripard <mripard@kernel•org>,
	Thomas Zimmermann <tzimmermann@suse•de>,
	David Airlie <airlied@gmail•com>, Simona Vetter <simona@ffwll•ch>,
	Frank Li <Frank.Li@nxp•com>,
	Sascha Hauer <s.hauer@pengutronix•de>,
	Pengutronix Kernel Team <kernel@pengutronix•de>,
	Fabio Estevam <festevam@gmail•com>,
	Luca Ceresoli <luca.ceresoli@bootlin•com>,
	dri-devel@lists•freedesktop.org, imx@lists•linux.dev,
	linux-arm-kernel@lists•infradead.org,
	linux-kernel@vger•kernel.org, stable@vger•kernel.org
Subject: Re: [PATCH v6] drm/bridge: imx8qxp-pxl2dpi: avoid ERR_PTR with device_node cleanup
Date: Thu, 7 May 2026 10:20:07 +0800	[thread overview]
Message-ID: <afv21xfKE9PxGWuD@raspi> (raw)
In-Reply-To: <20260506142434.643523-1-lgs201920130244@gmail.com>

On Wed, May 06, 2026 at 10:24:34PM +0800, Guangshuo Li wrote:

[...]

> Initialize the output
> argument to NULL so callers using cleanup variables hold either NULL or
> a valid device_node pointer on error paths.

I'd rephrase:
Initialize the output argument to NULL so callers hold either NULL on
error paths or a valid device_node pointer on successful path.

> 
> Keep explicit of_node_put() usage in the helper and in
> imx8qxp_pxl2dpi_set_pixel_link_sel() so the fix avoids adding more
> cleanup action usage there.

This sentence is not necessary, so I prefer to dropping it.

With these fixed:
Reviewed-by: Liu Ying <victor.liu@nxp•com>
Thanks!

-- 
Regards,
Liu Ying


  reply	other threads:[~2026-05-07  2:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-06 14:24 [PATCH v6] drm/bridge: imx8qxp-pxl2dpi: avoid ERR_PTR with device_node cleanup Guangshuo Li
2026-05-07  2:20 ` Liu Ying [this message]
2026-05-07  9:40   ` Guangshuo Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=afv21xfKE9PxGWuD@raspi \
    --to=victor.liu@nxp$(echo .)com \
    --cc=Frank.Li@nxp$(echo .)com \
    --cc=Laurent.pinchart@ideasonboard$(echo .)com \
    --cc=airlied@gmail$(echo .)com \
    --cc=andrzej.hajda@intel$(echo .)com \
    --cc=dri-devel@lists$(echo .)freedesktop.org \
    --cc=festevam@gmail$(echo .)com \
    --cc=imx@lists$(echo .)linux.dev \
    --cc=jernej.skrabec@gmail$(echo .)com \
    --cc=jonas@kwiboo$(echo .)se \
    --cc=kernel@pengutronix$(echo .)de \
    --cc=lgs201920130244@gmail$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=luca.ceresoli@bootlin$(echo .)com \
    --cc=maarten.lankhorst@linux$(echo .)intel.com \
    --cc=mripard@kernel$(echo .)org \
    --cc=neil.armstrong@linaro$(echo .)org \
    --cc=rfoss@kernel$(echo .)org \
    --cc=s.hauer@pengutronix$(echo .)de \
    --cc=simona@ffwll$(echo .)ch \
    --cc=stable@vger$(echo .)kernel.org \
    --cc=tzimmermann@suse$(echo .)de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox