2021-06-16 06:56:34

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH 4/8] docs: usb: replace some characters

The conversion tools used during DocBook/LaTeX/html/Markdown->ReST
conversion and some cut-and-pasted text contain some characters that
aren't easily reachable on standard keyboards and/or could cause
troubles when parsed by the documentation build system.

Replace the occurences of the following characters:

- U+feff (''): BOM
as it is not needed on UTF-8

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
Documentation/usb/ehci.rst | 2 +-
Documentation/usb/gadget_printer.rst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/usb/ehci.rst b/Documentation/usb/ehci.rst
index 31f650e7c1b4..76190501907a 100644
--- a/Documentation/usb/ehci.rst
+++ b/Documentation/usb/ehci.rst
@@ -1,4 +1,4 @@
-===========
+===========
EHCI driver
===========

diff --git a/Documentation/usb/gadget_printer.rst b/Documentation/usb/gadget_printer.rst
index 5e5516c69075..e611a6d91093 100644
--- a/Documentation/usb/gadget_printer.rst
+++ b/Documentation/usb/gadget_printer.rst
@@ -1,4 +1,4 @@
-===============================
+===============================
Linux USB Printer Gadget Driver
===============================

--
2.31.1


2021-06-16 07:19:26

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 4/8] docs: usb: replace some characters

On Wed, Jun 16, 2021 at 08:55:10AM +0200, Mauro Carvalho Chehab wrote:
> The conversion tools used during DocBook/LaTeX/html/Markdown->ReST
> conversion and some cut-and-pasted text contain some characters that
> aren't easily reachable on standard keyboards and/or could cause
> troubles when parsed by the documentation build system.
>
> Replace the occurences of the following characters:
>
> - U+feff (''): BOM
> as it is not needed on UTF-8
>
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
> ---
> Documentation/usb/ehci.rst | 2 +-
> Documentation/usb/gadget_printer.rst | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Greg Kroah-Hartman <[email protected]>