Re: [PATCH 2/2] drm/panic: fix overindented list items in documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 02, 2025 at 07:54:00AM +0100, Miguel Ojeda wrote:
> On Sun, Mar 2, 2025 at 12:17 AM Miguel Ojeda <ojeda@xxxxxxxxxx> wrote:
> >
> > Starting with the upcoming Rust 1.86.0 (to be released 2025-04-03),
> > Clippy warns:
> >
> >     error: doc list item overindented
> >        --> drivers/gpu/drm/drm_panic_qr.rs:914:5
> >         |
> >     914 | ///    will be encoded as binary segment, otherwise it will be encoded
> >         |     ^^^ help: try using `  ` (2 spaces)
> >         |
> >         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
> >
> > The overindentation is slightly hard to notice, since all the items
> > start with a backquote that makes it look OK, but it is there.
> >
> > Thus fix it.
> >
> > Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
> 
> Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
> Cc: stable@xxxxxxxxxxxxxxx # Needed in 6.12.y and 6.13.y only (Rust is
> pinned in older LTSs).

(cosmetic) Nit:

I think you could just:

Cc: stable@xxxxxxxxxxxxxxx # v6.12+

> 
> Cheers,
> Miguel
> 

BR, Jarkko



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux