Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: amd-sbi: Wrap miscdevice listing snippet in literal code block

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>

authored by

Bagas Sanjaya and committed by
Jonathan Corbet
c1be952f c6804c6a

+4 -2
+4 -2
Documentation/misc-devices/amd-sbi.rst
··· 28 28 Register sets is common across APML protocols. IOCTL is providing synchronization 29 29 among protocols as transactions may create race condition. 30 30 31 - $ ls -al /dev/sbrmi-3c 32 - crw------- 1 root root 10, 53 Jul 10 11:13 /dev/sbrmi-3c 31 + .. code-block:: bash 32 + 33 + $ ls -al /dev/sbrmi-3c 34 + crw------- 1 root root 10, 53 Jul 10 11:13 /dev/sbrmi-3c 33 35 34 36 apml_sbrmi driver registers hwmon sensors for monitoring power_cap_max, 35 37 current power consumption and managing power_cap.