Skip to content

Commit 502b675

Browse files
randrucJonathan Corbet
authored andcommitted
docs: cdrom: Fix a typo and rst markup
"The capability fags" should be "The capability flags". In rst markup, a incorrect markup expression is causing bad rendering in Sphinx output. Replace the erroneous single quote by a backquote. Signed-off-by: Remi Andruccioli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
1 parent be3a5b0 commit 502b675

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/cdrom/cdrom-standard.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ phase. Currently, the capabilities are any of::
571571
CDC_DRIVE_STATUS /* driver implements drive status */
572572

573573
The capability flag is declared *const*, to prevent drivers from
574-
accidentally tampering with the contents. The capability fags actually
574+
accidentally tampering with the contents. The capability flags actually
575575
inform `cdrom.c` of what the driver can do. If the drive found
576576
by the driver does not have the capability, is can be masked out by
577577
the *cdrom_device_info* variable *mask*. For instance, the SCSI CD-ROM
@@ -750,7 +750,7 @@ Description of routines in `cdrom.c`
750750

751751
Only a few routines in `cdrom.c` are exported to the drivers. In this
752752
new section we will discuss these, as well as the functions that `take
753-
over' the CD-ROM interface to the kernel. The header file belonging
753+
over` the CD-ROM interface to the kernel. The header file belonging
754754
to `cdrom.c` is called `cdrom.h`. Formerly, some of the contents of this
755755
file were placed in the file `ucdrom.h`, but this file has now been
756756
merged back into `cdrom.h`.

0 commit comments

Comments
 (0)