From: Nathan Chancellor <nathan@kernel.org>
To: Nicolas Dufresne <nicolas@ndufresne.ca>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>,
Andrzej Hajda <andrzej.hajda@intel.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-media@vger.kernel.org, llvm@lists.linux.dev,
patches@lists.linux.dev, stable@vger.kernel.org
Subject: Re: [PATCH] media: s5p-mfc: Always pass NULL to s5p_mfc_cmd_host2risc_v6()
Date: Tue, 29 Jul 2025 17:52:12 -0700 [thread overview]
Message-ID: <20250730005212.GB2984390@ax162> (raw)
In-Reply-To: <9650d2e240a9170175069e3a4f6d6d9512d62aa3.camel@ndufresne.ca>
Hi Nicolas,
On Tue, Jul 29, 2025 at 10:24:22AM -0400, Nicolas Dufresne wrote:
> Le mardi 15 juillet 2025 à 15:13 -0700, Nathan Chancellor a écrit :
> > From what I can tell, it seems like ->cmd_host2risc() is only ever
> > called from v6 code, which always passes NULL? It seems like it should
> > be possible to just drop .cmd_host2risc on the v5 side, then update
> > .cmd_host2risc to only take two parameters? If so, I can send a follow
> > up as a clean up, so that this can go back relatively conflict free.
>
> It seems so yes. For this specific patch, I would probably rename "args" to
> "__unused" to make the reading faster. But does not matter so much if you later
> remove it.
Yes, after this change is picked up in a maintainer's tree, I do plan to
send a patch to remove the "args" parameter altogether. If you really
care, I can certainly rename the parameter in this change to "__unused"
as suggested but if you don't, I will just leave it as is to make
backporting this a little easier.
> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Thanks a lot for taking a look!
Cheers,
Nathan
next prev parent reply other threads:[~2025-07-30 0:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250730070417eucas1p2f8c3a230581c16a0552c4f9f6231456a@eucas1p2.samsung.com>
[not found] ` <20250715-media-s5p-mfc-fix-uninit-const-pointer-v1-1-4d52b58cafe9@kernel.org>
2025-07-29 14:24 ` [PATCH] media: s5p-mfc: Always pass NULL to s5p_mfc_cmd_host2risc_v6() Nicolas Dufresne
2025-07-30 0:52 ` Nathan Chancellor [this message]
2025-09-03 17:13 ` Nicolas Dufresne
2025-09-03 18:52 ` Nathan Chancellor
2025-07-30 7:04 ` Marek Szyprowski
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=20250730005212.GB2984390@ax162 \
--to=nathan@kernel.org \
--cc=andrzej.hajda@intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-media@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=m.szyprowski@samsung.com \
--cc=mchehab@kernel.org \
--cc=nicolas@ndufresne.ca \
--cc=patches@lists.linux.dev \
--cc=stable@vger.kernel.org \
/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