2020-11-08 15:14:45

by J. Neuschäfer

[permalink] [raw]
Subject: [PATCH] docs: driver-api: mtd: intel-spi: Improve formatting of shell commands

Format the shell commands and output in steps 6 and 8 as code blocks,
for consistency with the rest of the document.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
Documentation/driver-api/mtd/intel-spi.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/driver-api/mtd/intel-spi.rst b/Documentation/driver-api/mtd/intel-spi.rst
index 0e6d9cd5388dd..0465f68792625 100644
--- a/Documentation/driver-api/mtd/intel-spi.rst
+++ b/Documentation/driver-api/mtd/intel-spi.rst
@@ -52,7 +52,7 @@ Linux.
16384+0 records out
8388608 bytes (8.4 MB) copied, 10.0269 s, 837 kB/s

- 6) Verify the backup:
+ 6) Verify the backup::

# sha1sum /dev/mtd0ro bios.bak
fdbb011920572ca6c991377c4b418a0502668b73 /dev/mtd0ro
@@ -66,7 +66,7 @@ Linux.
# flash_erase /dev/mtd0 0 0
Erasing 4 Kibyte @ 7ff000 -- 100 % complete

- 8) Once completed without errors you can write the new BIOS image:
+ 8) Once completed without errors you can write the new BIOS image::

# dd if=MNW2MAX1.X64.0092.R01.1605221712.bin of=/dev/mtd0

--
2.28.0


2020-11-13 22:07:57

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: driver-api: mtd: intel-spi: Improve formatting of shell commands

On Sun, 8 Nov 2020 16:10:04 +0100
Jonathan Neuschäfer <[email protected]> wrote:

> Format the shell commands and output in steps 6 and 8 as code blocks,
> for consistency with the rest of the document.
>
> Signed-off-by: Jonathan Neuschäfer <[email protected]>
> ---
> Documentation/driver-api/mtd/intel-spi.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

jon