]> Gentwo Git Trees - linux/.git/commitdiff
Documentation: amd-sbi: Wrap miscdevice listing snippet in literal code block
authorBagas Sanjaya <bagasdotme@gmail.com>
Tue, 4 Nov 2025 04:18:10 +0000 (11:18 +0700)
committerJonathan Corbet <corbet@lwn.net>
Mon, 10 Nov 2025 19:54:49 +0000 (12:54 -0700)
Device file listing (ls output) is shown as long-running paragraph
instead. Wrap it in literal code block.

Fixes: 4d95514d14e874 ("misc: amd-sbi: Add document for AMD SB IOCTL description")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20251104041812.31402-2-bagasdotme@gmail.com>

Documentation/misc-devices/amd-sbi.rst

index 5648fc6ec5726a9e44d979bb82a9a199e46fc31d..07ceb44fbe5e193e1f47cd0100f1206e1d2a73c2 100644 (file)
@@ -28,8 +28,10 @@ MCAMSR and register xfer commands.
 Register sets is common across APML protocols. IOCTL is providing synchronization
 among protocols as transactions may create race condition.
 
-$ ls -al /dev/sbrmi-3c
-crw-------    1 root     root       10,  53 Jul 10 11:13 /dev/sbrmi-3c
+.. code-block:: bash
+
+   $ ls -al /dev/sbrmi-3c
+   crw-------    1 root     root       10,  53 Jul 10 11:13 /dev/sbrmi-3c
 
 apml_sbrmi driver registers hwmon sensors for monitoring power_cap_max,
 current power consumption and managing power_cap.