Linux Media Controller development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Hans Verkuil <hans@jjverkuil.nl>
Cc: Hans de Goede <hansg@kernel.org>,
	Ricardo Ribalda <ribalda@chromium.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] media: uvcvideo: Enable keep-sorted
Date: Tue, 17 Jun 2025 15:53:43 +0300	[thread overview]
Message-ID: <20250617125343.GB10006@pendragon.ideasonboard.com> (raw)
In-Reply-To: <08a426ae-be6e-4cbc-aaaf-7197bf839632@jjverkuil.nl>

On Tue, Jun 17, 2025 at 01:52:50PM +0200, Hans Verkuil wrote:
> On 16/06/2025 15:38, Hans de Goede wrote:
> > On 16-Jun-25 15:31, Ricardo Ribalda wrote:
> >> On Mon, 16 Jun 2025 at 15:26, Hans de Goede <hansg@kernel.org> wrote:
> >>> On 16-Jun-25 15:22, Ricardo Ribalda wrote:
> >>>> On Mon, 16 Jun 2025 at 15:05, Hans de Goede <hansg@kernel.org> wrote:
> >>>>> On 29-Apr-25 15:47, Ricardo Ribalda wrote:
> >>>>>> When committers contribute quirks to the uvc driver, they usually add
> >>>>>> them out of order.
> >>>>>>
> >>>>>> We can automatically validate that their follow our guidelines with the
> >>>>>> use of keep-sorted.
> >>>>>>
> >>>>>> This patchset adds support for keep-sorted in the uvc driver. The two
> >>>>>> patches can be squashed if needed.
> >>>>>>
> >>>>>> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
> >>>>>
> >>>>> I've no objections against these 2 patches, but these need to be
> >>>>> rebased on top of the latest uvc/for-next. Can you send out a new
> >>>>> version please ?
> >>>>
> >>>> I was waiting for HansV to say that keep-sorted was useful and then
> >>>> add it to the CI.
> >>>
> >>> Ok, so should we drop this series from patchwork then ?
> >>
> >> If the series does not bother you too much in patchwork let it stay
> >> there until HansV replies to the makefile series.
> 
> I did that. Basically I don't like the keep-sorted annotation unless it
> is rolled out kernel-wide. It's not something we should do just in the
> media subsystem.
> 
> That doesn't mean that a patch fixing the uvc_ids order isn't welcome,
> but just drop the annotation.
> 
> If we do that, then patch 1/2 is also no longer needed. Although it
> feels more logical that match_flags is at the end. I leave that to
> HdG and Laurent to decide.

.match_flags is first to match the order of the fields in the
usb_device_id structure. Is there a need to move it last, or is only the

	}, {

construct that the tool doesn't like ?

> > Sure that works for me.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2025-06-17 12:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-29 13:47 [PATCH 0/2] media: uvcvideo: Enable keep-sorted Ricardo Ribalda
2025-04-29 13:47 ` [PATCH 1/2] media: uvcvideo: Rewrite uvc_ids for keep-sorted Ricardo Ribalda
2025-04-29 18:21   ` Ricardo Ribalda
2025-04-29 13:47 ` [PATCH 2/2] media: uvcvideo: Add keep-sorted statement and sort uvc_ids Ricardo Ribalda
2025-06-16 13:05 ` [PATCH 0/2] media: uvcvideo: Enable keep-sorted Hans de Goede
2025-06-16 13:22   ` Ricardo Ribalda
2025-06-16 13:26     ` Hans de Goede
2025-06-16 13:31       ` Ricardo Ribalda
2025-06-16 13:38         ` Hans de Goede
2025-06-17 11:52           ` Hans Verkuil
2025-06-17 12:53             ` Laurent Pinchart [this message]
2025-06-17 13:02               ` Ricardo Ribalda

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=20250617125343.GB10006@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=hans@jjverkuil.nl \
    --cc=hansg@kernel.org \
    --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