[PATCH v2 0/7] Cleanup Clippy issues in drm_panic_qr.rs

2024-10-19 Thread Thomas Böhler
ot;Fixes" trailers and rename "Closes" to "Link" trailers as the patches all fix part of the issue. - Replace `#[allow(...)]` with `#[expect(...)]`. Support for `expect` is already in rust-next, which is where this series will be merged into. Thomas Böhler (7): drm/pan

[PATCH v2 4/7] drm/panic: remove redundant field when assigning value

2024-10-19 Thread Thomas Böhler
: cb5164ac43d0 ("drm/panic: Add a QR code panic screen") Reported-by: Miguel Ojeda Link: https://github.com/Rust-for-Linux/linux/issues/1123 Signed-off-by: Thomas Böhler Reviewed-by: Jocelyn Falempe --- drivers/gpu/drm/drm_panic_qr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

Re: [PATCH 1/7] drm/panic: avoid reimplementing Iterator::find

2024-10-19 Thread Thomas Böhler
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 wrote: > > > > implementing the same logic itself. > > Clippy complains about this in the `manual_find` lint: > > Typically com

Re: [PATCH 1/7] drm/panic: avoid reimplementing Iterator::find

2024-10-19 Thread Thomas Böhler
ave my reviewed-by automatically added. That's neat to know, thank you! That makes the use-case of patchwork a bit clearer for me. > Best regards, > > -- > > Jocelyn Kind regards, -- Thomas Böhler https://wiredspace.de

[PATCH 4/7] drm/panic: remove redundant field when assigning value

2024-10-12 Thread Thomas Böhler
: Miguel Ojeda Closes: https://github.com/Rust-for-Linux/linux/issues/1123 Signed-off-by: Thomas Böhler --- drivers/gpu/drm/drm_panic_qr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_panic_qr.rs b/drivers/gpu/drm/drm_panic_qr.rs index 767a8eb0acec