Cleanup Clippy issues in drm_panic_qr.rs
Status from this message: Applied to `rust-next` -- thanks everyone!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 1 replyApplied
- v17 patches 16 repliesSuperseded
Changes in v2 from the cover letter
- Add "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.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/panic: avoid reimplementing Iterator::finddrivers/ | +3 | 0 replies | |
| 2/7 | drm/panic: remove unnecessary borrow in alignment_patterndrivers/ | +1 | 0 replies | |
| 3/7 | drm/panic: prefer eliding lifetimesdrivers/ | +1 | 0 replies | |
| 4/7 | drm/panic: remove redundant field when assigning valuedrivers/ | +1 | 0 replies | |
| 5/7 | drm/panic: correctly indent continuation of line in list itemdrivers/ | +1 | 0 replies | |
| 6/7 | drm/panic: allow verbose boolean for claritydrivers/ | +4 | 0 replies | |
| 7/7 | drm/panic: allow verbose version checkdrivers/ | +1 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Jocelyn Falempe |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] Cleanup Clippy issues in drm_panic_qr.rs
The file drivers/gpu/drm/drm_panic_qr.rs has some lints that Clippy complains about. This series cleans them up by either allowing what is written or conforming to what Clippy expects where it makes sense.
All explicitly allowed lints are marked with #[expect(...)].
v1 -> v2:
- Add "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/panic: avoid reimplementing Iterator::find drm/panic: remove unnecessary borrow in alignment_pattern drm/panic: prefer eliding lifetimes
drm/panic: remove redundant field when assigning value drm/panic: correctly indent continuation of line in list item drm/panic: allow verbose boolean for clarity drm/panic: allow verbose version check
drivers/gpu/drm/drm_panic_qr.rs | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-)
Signature · 1 line
2.46.2