From: Markus Elfring <Markus.Elfring@web.de>
To: Liao Yuanhong <liaoyuanhong@vivo.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>,
"Ingo Molnar" <mingo@kernel.org>,
"Lijo Lazar" <lijo.lazar@amd.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Srinivasan Shanmugam" <srinivasan.shanmugam@amd.com>,
"Thomas Gleixner" <tglx@linutronix.de>
Subject: Re: [PATCH] drm/amdgpu/fence: Remove redundant 0 value initialization
Date: Tue, 19 Aug 2025 10:55:26 +0200 [thread overview]
Message-ID: <bbe3a13f-9eb8-490d-a618-19001ae69fb4@web.de> (raw)
In-Reply-To: <20250819082524.526572-1-liaoyuanhong@vivo.com>
> The amdgpu_fence struct is already zeroed by kzalloc(). It's redundant to
> initialize am_fence->context to 0.
See also once more:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc2#n94
Regards,
Markus
prev parent reply other threads:[~2025-08-19 8:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-19 8:25 Liao Yuanhong
2025-08-19 8:41 ` Christian König
2025-08-19 11:34 ` Liao Yuanhong
2025-08-19 13:10 ` Alex Deucher
2025-08-19 8:55 ` 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=bbe3a13f-9eb8-490d-a618-19001ae69fb4@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=liaoyuanhong@vivo.com \
--cc=lijo.lazar@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=simona@ffwll.ch \
--cc=srinivasan.shanmugam@amd.com \
--cc=tglx@linutronix.de \
/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®