mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Prike Liang <Prike.Liang@amd.com>,
	Junrui Luo <moonafterrain@outlook.com>,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: LKML <linux-kernel@vger.kernel.org>,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Christian König" <christian.koenig@amd.com>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Yuhao Jiang" <danisjiang@gmail.com>
Subject: Re: [PATCH] drm/amdgpu/userq: refactor MQD init into per-IP helpers
Date: Tue, 17 Mar 2026 14:57:58 +0100	[thread overview]
Message-ID: <3c71bfaf-1470-4115-aaa3-5427f3cd13d0@web.de> (raw)
In-Reply-To: <PH7PR12MB60009289D930B947E2775B64FB41A@PH7PR12MB6000.namprd12.prod.outlook.com>

> We may need to clear mqd before returning on error to guarantee kfree() won’t see an error pointer at scope exit.

Would you like to take another look at a corresponding implementation detail?
https://elixir.bootlin.com/linux/v7.0-rc4/source/include/linux/slab.h#L517

Regards,
Markus

      reply	other threads:[~2026-03-17 13:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-17  3:14 Junrui Luo
2026-03-17  7:11 ` Christian König
2026-03-17 13:42   ` Liang, Prike
2026-03-17 13:57     ` Markus Elfring [this message]

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=3c71bfaf-1470-4115-aaa3-5427f3cd13d0@web.de \
    --to=markus.elfring@web.de \
    --cc=Prike.Liang@amd.com \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=danisjiang@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=moonafterrain@outlook.com \
    --cc=simona@ffwll.ch \
    /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®