drm/panic: add missing Markdown code span
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Mar 2025 21:03:49 +0000 (22:03 +0100)
committerJocelyn Falempe <jfalempe@redhat.com>
Thu, 27 Mar 2025 15:08:55 +0000 (16:08 +0100)
Add missing Markdown code span.

This was found using the Clippy `doc_markdown` lint, which we may want
to enable.

Fixes: cb5164ac43d0 ("drm/panic: Add a QR code panic screen")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250324210359.1199574-3-ojeda@kernel.org
drivers/gpu/drm/drm_panic_qr.rs

index 8d369a5ecf4a63a157d4894feb71f681abb5b0f4..10b94ac185325b25c9b8757b4c93c558cadf8a78 100644 (file)
@@ -876,7 +876,7 @@ impl QrImage<'_> {
 ///    will be encoded as binary segment, otherwise it will be encoded
 ///    efficiently as a numeric segment, and appended to the URL.
 /// * `data_len`: Length of the data, that needs to be encoded, must be less
-///    than data_size.
+///    than `data_size`.
 /// * `data_size`: Size of data buffer, it should be at least 4071 bytes to hold
 ///    a V40 QR code. It will then be overwritten with the QR code image.
 /// * `tmp`: A temporary buffer that the QR code encoder will use, to write the