[PATCH 1/7] drm/panic: avoid reimplementing Iterator::find
Thomas Böhler
witcher at wiredspace.de
Sat Oct 19 07:45:22 UTC 2024
On Sat Oct 12, 2024 at 1:04 PM CEST, Miguel Ojeda wrote:
> Hi Thomas,
Hi Miguel,
>
> On Sat, Oct 12, 2024 at 9:53 AM Thomas Böhler <witcher at wiredspace.de> wrote:
> >
> > implementing the same logic itself.
> > Clippy complains about this in the `manual_find` lint:
>
> Typically commit messages use newlines between paragraphs.
I wanted to logically group these sentences together, but can also use
paragraphs of course.
> > Reported-by: Miguel Ojeda <ojeda at kernel.org>
> > Closes: https://github.com/Rust-for-Linux/linux/issues/1123
>
> Since each of these commits fixes part of the issue, I think these are
> meant to be `Link:`s instead of `Closes:`s according to the docs:
>
> https://docs.kernel.org/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes
>
> In addition, these should probably have a `Fixes:` tag too -- I should
> have mentioned that in the issue, sorry.
Good point, I didn't realise this when I read the documentation. I'll
change/add the trailer as suggested.
> Finally, as a suggestion for the future: for a series like this, it
> may make sense to have a small/quick cover letter saying something as
> simple as: "Clippy reports some issues in ... -- this series cleans
> them up.". Having a cover letter also allows you to give a title to
> the series.
Makes sense, v2 will have a cover letter :)
> Thanks again!
Thank you for the nits, they're exactly what I've been looking forward
to!
I'll prepare a v2 within the coming days as I'm currently limited on
free time, so thank you in advance for the patience.
> Cheers,
> Miguel
Kind regards,
--
Thomas Böhler
https://wiredspace.de
More information about the dri-devel
mailing list