From: Jacek Anaszewski <jacek.anaszewski@gmail.com>
To: Rikard Falkeborn <rikard.falkeborn@gmail.com>,
Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] media: s5p-jpeg: Constify struct v4l2_m2m_ops
Date: Fri, 3 Dec 2021 20:22:40 +0100 [thread overview]
Message-ID: <e2441bf7-676c-097e-7b60-37f18078b5ef@gmail.com> (raw)
In-Reply-To: <20211130212700.1253521-1-rikard.falkeborn@gmail.com>
Hi Rikard,
Thanks for the patch.
On 11/30/21 10:27 PM, Rikard Falkeborn wrote:
> The only usage of the v4l2_m2m_ops structs is to pass their address to
> v4l2_m2m_init() which takes a pointer to const struct v4l2_m2m_ops as
> argument. Make them const to allow the compiler to put them in read-only
> memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
> ---
> drivers/media/platform/s5p-jpeg/jpeg-core.c | 6 +++---
> drivers/media/platform/s5p-jpeg/jpeg-core.h | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
--
Best regards,
Jacek Anaszewski
prev parent reply other threads:[~2021-12-03 19:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-30 21:27 Rikard Falkeborn
2021-12-03 19:22 ` Jacek Anaszewski [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=e2441bf7-676c-097e-7b60-37f18078b5ef@gmail.com \
--to=jacek.anaszewski@gmail.com \
--cc=andrzejtp2010@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=rikard.falkeborn@gmail.com \
--cc=s.nawrocki@samsung.com \
/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®