mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hans de Goede <hansg@kernel.org>
To: Ricardo Ribalda <ribalda@chromium.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Hans de Goede <hdegoede@redhat.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 8/9] media: core: export v4l2_compat_translate_cmd()
Date: Mon, 30 Jun 2025 15:06:26 +0200	[thread overview]
Message-ID: <128433cb-b8c0-47cb-8cc8-0c625d3984f8@kernel.org> (raw)
In-Reply-To: <20250602-uvc-grannular-invert-v2-8-c871934ad880@chromium.org>

Hi All,

On 2-Jun-25 3:06 PM, Ricardo Ribalda wrote:
> v4l2_compat_translate_cmd() can be useful for drivers to convert between
> the VIDIOC_*32 and VIDIOC_ defines.
> 
> The VIDIOC_*32 defines are not accessible by the drivers, they live in
> v4l2-compat-ioctl32.c.
> 
> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>

Hans Verkuil with newer versions of patches 1-4 now merged
through other patch-series patches 5-9 are now ready for
merging.

This will require merging this core patch through the UVC
tree, may I please have your ack for this?

Regards,

Hans



> ---
>  drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/v4l2-core/v4l2-compat-ioctl32.c b/drivers/media/v4l2-core/v4l2-compat-ioctl32.c
> index 8c07400bd280dea5d2e66e2759658c423bcd3866..ced4892b42597d605887b7c6a14373e3922f7bc6 100644
> --- a/drivers/media/v4l2-core/v4l2-compat-ioctl32.c
> +++ b/drivers/media/v4l2-core/v4l2-compat-ioctl32.c
> @@ -929,6 +929,7 @@ unsigned int v4l2_compat_translate_cmd(unsigned int cmd)
>  	}
>  	return cmd;
>  }
> +EXPORT_SYMBOL_GPL(v4l2_compat_translate_cmd);
>  
>  int v4l2_compat_get_user(void __user *arg, void *parg, unsigned int cmd)
>  {
> 


  parent reply	other threads:[~2025-06-30 13:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-02 13:06 [PATCH v2 0/9] media: uvcvideo: Invert granular PM logic + PM fix Ricardo Ribalda
2025-06-02 13:06 ` [PATCH v2 1/9] media: uvcvideo: Refactor uvc_queue_streamon Ricardo Ribalda
2025-06-02 13:06 ` [PATCH v2 2/9] media: uvcvideo: Refactor uvc_v4l2_compat_ioctl32 Ricardo Ribalda
2025-06-02 13:06 ` [PATCH v2 3/9] media: uvcvideo: Use vb2 ioctl and fop helpers Ricardo Ribalda
2025-06-02 13:06 ` [PATCH v2 4/9] media: uvcvideo: Remove stream->is_streaming field Ricardo Ribalda
2025-06-02 13:06 ` [PATCH v2 5/9] media: uvcvideo: Turn on the camera if V4L2_EVENT_SUB_FL_SEND_INITIAL Ricardo Ribalda
2025-06-02 13:06 ` [PATCH v2 6/9] media: uvcvideo: Do not enable camera during UVCIOC_CTRL_MAP* Ricardo Ribalda
2025-06-02 13:06 ` [PATCH v2 7/9] media: uvcvideo: uvc_v4l2_unlocked_ioctl: Invert PM logic Ricardo Ribalda
2025-06-16 14:14   ` Hans de Goede
2025-06-30 13:21     ` Hans de Goede
2025-06-30 13:35   ` Hans Verkuil
2025-06-02 13:06 ` [PATCH v2 8/9] media: core: export v4l2_compat_translate_cmd() Ricardo Ribalda
2025-06-16 14:14   ` Hans de Goede
2025-06-30 13:06   ` Hans de Goede [this message]
2025-06-30 13:38   ` hans
2025-06-02 13:06 ` [PATCH v2 9/9] media: uvcvideo: Support granular power saving for compat syscalls Ricardo Ribalda
2025-06-16 14:15   ` Hans de Goede
2025-06-30 13:39   ` hans

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=128433cb-b8c0-47cb-8cc8-0c625d3984f8@kernel.org \
    --to=hansg@kernel.org \
    --cc=hdegoede@redhat.com \
    --cc=hverkuil@xs4all.nl \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=ribalda@chromium.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

all inboxes | Powered by JetHome®