[PATCH] firmware: zynqmp: use literal blocks for commands

Randy Dunlap rdunlap at infradead.org
Tue Sep 15 12:06:37 PDT 2026



On 9/15/26 11:56 AM, Jonathan Corbet wrote:
> Randy Dunlap <rdunlap at infradead.org> writes:
> 
>> Use literal blocks for 'cat' and 'echo' commands to separate them from
>> the surrounding text. Otherwise the lines run together, without any
>> clear break before or after the commands.
>>
>> Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
>> ---
>> Cc: Michal Simek <michal.simek at amd.com>
>> Cc: Ronak Jain <ronak.jain at amd.com>
>> Cc: linux-arm-kernel at lists.infradead.org
>> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
>> Cc: Jonathan Corbet <corbet at lwn.net>
>> Cc: Shuah Khan <skhan at linuxfoundation.org>
>> Cc: linux-doc at vger.kernel.org
>>
>>  Documentation/ABI/stable/sysfs-driver-firmware-zynqmp |   70 +++++++---
>>  1 file changed, 50 insertions(+), 20 deletions(-)
>>
>> --- linux-next-20260911.orig/Documentation/ABI/stable/sysfs-driver-firmware-zynqmp
>> +++ linux-next-20260911/Documentation/ABI/stable/sysfs-driver-firmware-zynqmp
>> @@ -141,32 +141,44 @@ Description:
>>  
>>  		Usage:
>>  
>> -		Select over temperature config ID to enable/disable feature
>> +		Select over temperature config ID to enable/disable feature::
>> +
>>  		# echo 1 > /sys/devices/platform/firmware\:zynqmp-firmware/feature_config_id
> 
> I was sure that this wouldn't work, since the literal block is not
> indented relative to the containing text.  Sphinx does the right thing,
> though... so applied, thanks,

Yeah, I did test it and looked at the output. :)

-- 
~Randy




More information about the linux-arm-kernel mailing list