From: Dan Carpenter <dan.carpenter@linaro.org>
To: Alex Deucher <alexander.deucher@amd.com>
Cc: amd-gfx@lists.freedesktop.org,
"Arunpravin Paneer Selvam" <Arunpravin.PaneerSelvam@amd.com>,
"Arvind Yadav" <Arvind.Yadav@amd.com>,
"Christian König" <christian.koenig@amd.com>,
"David Airlie" <airlied@gmail.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
"Shashank Sharma" <shashank.sharma@amd.com>,
"Simona Vetter" <simona@ffwll.ch>
Subject: [PATCH v2 0/2] drm/amdgpu: Fixes to amdgpu_userq_fence_driver_alloc()
Date: Sat, 12 Apr 2025 17:39:26 +0300 [thread overview]
Message-ID: <cover.1744468610.git.dan.carpenter@linaro.org> (raw)
This fixes a double free on one error path in
amdgpu_userq_fence_driver_alloc() and cleans up another error path.
v2:
Did some additional cleanup
Dan Carpenter (2):
drm/amdgpu: Fix double free in amdgpu_userq_fence_driver_alloc()
drm/amdgpu: Clean up error handling in
amdgpu_userq_fence_driver_alloc()
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
--
2.47.2
next reply other threads:[~2025-04-12 14:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-12 14:39 Dan Carpenter [this message]
2025-04-12 14:39 ` [PATCH v2 1/2] drm/amdgpu: Fix double free in amdgpu_userq_fence_driver_alloc() Dan Carpenter
2025-04-14 4:38 ` Yadav, Arvind
2025-04-12 14:39 ` [PATCH v2 2/2] drm/amdgpu: Clean up error handling " Dan Carpenter
2025-04-14 4:38 ` Yadav, Arvind
2025-04-14 16:24 ` Alex Deucher
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=cover.1744468610.git.dan.carpenter@linaro.org \
--to=dan.carpenter@linaro.org \
--cc=Arunpravin.PaneerSelvam@amd.com \
--cc=Arvind.Yadav@amd.com \
--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=linux-kernel@vger.kernel.org \
--cc=shashank.sharma@amd.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
Powered by JetHome