Skip to contentSkip to conversation

virtio-gpu.tex: fix some UTF-8 damage

PATCH In review Alex Bennée 3 participants 3 messages Jan 14, 2021 – Jan 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio-gpu.tex: fix some UTF-8 damage

While building I got a warning about:

! Package utf8x Error: MalformedUTF-8sequence.

Fixes 87fa6b5 ("virtio-gpu: add support for mapping/unmapping blob resources")
---
 virtio-gpu.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
virtio-gpu.tex +4 -4
index 8225db6..a6afeda 100644
@@ -660,11 +660,11 @@ \subsubsection{Device Operation: controlq (3d)}\label{sec:Device Types / GPU Dev
         le64 offset;
 };
 
-#define VIRTIO_GPU_MAP_CACHE_MASK      0x0f
+#define VIRTIO_GPU_MAP_CACHE_MASK      0x0f
 #define VIRTIO_GPU_MAP_CACHE_NONE      0x00
-#define VIRTIO_GPU_MAP_CACHE_CACHED    0x01
-#define VIRTIO_GPU_MAP_CACHE_UNCACHED  0x02
-#define VIRTIO_GPU_MAP_CACHE_WC        0x03
+#define VIRTIO_GPU_MAP_CACHE_CACHED    0x01
+#define VIRTIO_GPU_MAP_CACHE_UNCACHED  0x02
+#define VIRTIO_GPU_MAP_CACHE_WC        0x03
 struct virtio_gpu_resp_map_info {
         struct virtio_gpu_ctrl_hdr hdr;
         u32 map_info;
Signature · 18 lines
2.20.1


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: [email protected]
Unsubscribe: [email protected]
List help: [email protected]
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Alex Bennée

While building I got a warning about:

! Package utf8x Error: MalformedUTF-8sequence.

Fixes 87fa6b5 ("virtio-gpu: add support for mapping/unmapping blob resources")
---
 virtio-gpu.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
virtio-gpu.tex +0 -0
index 8225db6..a6afeda 100644

virtio-gpu.tex \subsubsection{Device Operation: controlq (3d)}\label{sec:Device Types / GPU Dev · line 663

Quoted 5 lines
virtio-gpu.tex +1 -1
@@ -660,11 +660,11 @@ \subsubsection{Device Operation: controlq (3d)}\label{sec:Device Types / GPU Dev
         le64 offset;
 };
 
-#define VIRTIO_GPU_MAP_CACHE_MASK      0x0f
+#define VIRTIO_GPU_MAP_CACHE_MASK      0x0f

For anyone wondering what the issue was:

  $ hexdump -C
  00000020  53 4b 20 c2 a0 20 c2 a0  20 c2 a0 30 78 30 66 0a  |SK .. .. ..0x0f.|

The 0xc2 and 0xa0 bytes are being removed, leaving just the ASCI SPACE (0x20) characters.

#2 lore raw
In reply to Alex Bennée
Quoted 9 lines · On Thu, 14 Jan 2021 21:20:59 +0000 Alex Bennée <[email protected]> wrote:

While building I got a warning about:

! Package utf8x Error: MalformedUTF-8sequence.

Fixes 87fa6b5 ("virtio-gpu: add support for mapping/unmapping blob resources")
---
 virtio-gpu.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Thanks, pushed out as a minor edit.

This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting.

Subscribe: [email protected]
Unsubscribe: [email protected]
List help: [email protected]
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/