mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: "Ziran Zhang" <zhangcoder@yeah.net>,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Christian König" <christian.koenig@amd.com>,
	"David Airlie" <airlied@gmail.com>,
	"Harry Wentland" <harry.wentland@amd.com>,
	"Leo Li" <sunpeng.li@amd.com>, "Simona Vetter" <simona@ffwll.ch>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Rodrigo Siqueira <siqueira@igalia.com>
Subject: Re: [PATCH v2] drm/amd/display: Remove redundant NULL check before kfree in mod_power_create()
Date: Sat, 27 Jun 2026 13:53:13 +0200	[thread overview]
Message-ID: <0d82b2ff-5451-4ba5-9a02-fec93b93484f@web.de> (raw)
In-Reply-To: <20260627100945.5826-1-zhangcoder@yeah.net>

> kfree() safely handles NULL pointers, so there is no need to check for
> NULL before calling kfree().
…

How do you think about to append parentheses to another function name
in the summary phrase?

Regards,
Markus

  reply	other threads:[~2026-06-27 11:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-27  9:26 [PATCH] " Ziran Zhang
2026-06-27  9:43 ` [PATCH] drm/amd/display: Remove redundant NULL check before kfree() " Markus Elfring
2026-06-27  9:54   ` Ziran Zhang
2026-06-27 10:09 ` [PATCH v2] drm/amd/display: Remove redundant NULL check before kfree " Ziran Zhang
2026-06-27 11:53   ` Markus Elfring [this message]
2026-06-27 13:07     ` [PATCH] drm/amd/display: Remove redundant NULL check before kfree() " Ziran Zhang
2026-06-27 13:13   ` [PATCH v3] " Ziran Zhang

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=0d82b2ff-5451-4ba5-9a02-fec93b93484f@web.de \
    --to=markus.elfring@web.de \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simona@ffwll.ch \
    --cc=siqueira@igalia.com \
    --cc=sunpeng.li@amd.com \
    --cc=zhangcoder@yeah.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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

all inboxes | Powered by JetHome®