2022-06-06 05:30:05

by Justin Swartz

[permalink] [raw]
Subject: Re: [PATCH] docs: usb: fix literal block marker in usbmon verification example

On 2022-06-05 10:39, Bagas Sanjaya wrote:
> On 6/4/22 22:54, Justin Swartz wrote:
>> The "Verify that bus sockets are present" example was not properly
>> formatted due to a typo in the literal block marker.
>>
>
> Missing second colon?

That is correct.


>> -Verify that bus sockets are present:
>> +Verify that bus sockets are present::
>>
>> # ls /sys/kernel/debug/usb/usbmon
>> 0s 0u 1s 1t 1u 2s 2t 2u 3s 3t 3u 4s 4t 4u
>
> Otherwise, the literal block rendered correctly.

The block is not rendered correctly without the second colon.
See: https://docs.kernel.org/usb/usbmon.html