Re: [PATCH 1/7] rust: media: add the media module
From: Miguel Ojeda
Date: Mon Aug 18 2025 - 04:56:59 EST
On Mon, Aug 18, 2025 at 7:51 AM Daniel Almeida
<daniel.almeida@xxxxxxxxxxxxx> wrote:
>
> MAINTAINERS | 7 +++++++
I would suggest splitting this into its own patch, "MAINTAINERS: "
prefix, so that it is more visible. The other bits can be moved to the
first patch that adds the file -- it is what we usually do.
> diff --git a/MAINTAINERS b/MAINTAINERS
> index fe168477caa45799dfe07de2f54de6d6a1ce0615..6fc5d57950e474d73d5d65271a0394efc5a8960b 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -15434,6 +15434,13 @@ F: include/uapi/linux/uvcvideo.h
> F: include/uapi/linux/v4l2-*
> F: include/uapi/linux/videodev2.h
>
> +MEDIA RUST INFRASTRUCTURE
It may be good to match the parent entry/subsystem, e.g. with "
[RUST]" at the end or whatever is the convention for the subsystem (if
there is no convention, then " [RUST]" is what we have been normally
doing).
See e.g. "PCI SUBSYSTEM [RUST]".
> +S: Supported
Very nice to see Collabora wants to support this!
> +F: rust/media
rust/media/
i.e. a trailing slash here is mandatory to include all files and subdirectories.
> +// SPDX-copyrightText: Copyright (C) 2025 Collabora Ltd.
SPDX-FileCopyrightText?
> +//! Reference: <https://www.kernel.org/doc/html/latest/driver-api/media/index.html>
docs.kernel.org are nicer links :)
https://docs.kernel.org/driver-api/media/index.html
> \ No newline at end of file
Normally there would be one.
Thanks!
Cheers,
Miguel