[PATCH 3/4] lib/fonts: convert comments to utf-8

2018-07-24 Thread Arnd Bergmann
The font files contain bit masks for characters in the cp437 character
set, and comments showing what character this is supposed to be.

This only makes sense when the terminal used to view the files is
set to the same codepage, but all other files in the kernel now use
utf-8 encoding.

This changes those comments to utf-8 as well, for consistency.

Signed-off-by: Arnd Bergmann 
---
 lib/fonts/font_7x14.c  | 256 ++---
 lib/fonts/font_8x16.c  | 256 ++---
 lib/fonts/font_8x8.c   | 256 ++---
 lib/fonts/font_pearl_8x8.c | 256 ++---
 4 files changed, 512 insertions(+), 512 deletions(-)

diff --git a/lib/fonts/font_7x14.c b/lib/fonts/font_7x14.c
index 9ae5b62c8a0d..89752d0b23e8 100644
--- a/lib/fonts/font_7x14.c
+++ b/lib/fonts/font_7x14.c
@@ -2058,7 +2058,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 128 0x80 '?' */
+   /* 128 0x80 '??' */
0x00, /* 000 */
0x38, /* 0011100 */
0x6c, /* 0110110 */
@@ -2074,7 +2074,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x70, /* 0111000 */
0x00, /* 000 */
 
-   /* 129 0x81 '?' */
+   /* 129 0x81 '??' */
0x00, /* 000 */
0xcc, /* 1100110 */
0x00, /* 000 */
@@ -2090,7 +2090,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 130 0x82 '?' */
+   /* 130 0x82 '??' */
0x0c, /* 110 */
0x18, /* 0001100 */
0x30, /* 0011000 */
@@ -2106,7 +2106,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 131 0x83 '?' */
+   /* 131 0x83 '??' */
0x10, /* 0001000 */
0x38, /* 0011100 */
0x6c, /* 0110110 */
@@ -2122,7 +2122,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 132 0x84 '?' */
+   /* 132 0x84 '??' */
0x00, /* 000 */
0xcc, /* 1100110 */
0x00, /* 000 */
@@ -2138,7 +2138,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 133 0x85 '?' */
+   /* 133 0x85 '??' */
0x60, /* 011 */
0x30, /* 0011000 */
0x18, /* 0001100 */
@@ -2154,7 +2154,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 134 0x86 '?' */
+   /* 134 0x86 '??' */
0x38, /* 0011100 */
0x6c, /* 0110110 */
0x38, /* 0011100 */
@@ -2170,7 +2170,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 135 0x87 '?' */
+   /* 135 0x87 '??' */
0x00, /* 000 */
0x00, /* 000 */
0x00, /* 000 */
@@ -2186,7 +2186,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x30, /* 0011000 */
0xe0, /* 111 */
 
-   /* 136 0x88 '?' */
+   /* 136 0x88 '??' */
0x10, /* 0001000 */
0x38, /* 0011100 */
0x6c, /* 0110110 */
@@ -2202,7 +2202,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 137 0x89 '?' */
+   /* 137 0x89 '??' */
0x00, /* 000 */
0xcc, /* 1100110 */
0x00, /* 000 */
@@ -2218,7 +2218,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 138 0x8a '?' */
+   /* 138 0x8a '??' */
0xc0, /* 110 */
0x60, /* 011 */
0x30, /* 0011000 */
@@ -2234,7 +2234,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 139 0x8b '?' */
+   /* 139 0x8b '??' */
0x00, /* 000 */
0x6c, /* 0110110 */
0x00, /* 000 */
@@ -2250,7 +2250,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 140 0x8c '?' */
+   /* 140 0x8c '??' */
0x30, /* 0011000 */
0x78, /* 000 */
0xcc, /* 1100110 */
@@ -2266,7 +2266,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 141 0x8d '?' */
+   /* 141 0x8d '??' */
0xc0, /* 110 */
0x60, /* 011 */
0x30, /* 0011000 */
@@ -2282,7 +2282,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 142 0x8e '?' */
+   /* 142 0x8e '??' */
0x00, /* 000 */
0xcc, 

[PATCH 3/4] lib/fonts: convert comments to utf-8

2018-07-24 Thread Arnd Bergmann
The font files contain bit masks for characters in the cp437 character
set, and comments showing what character this is supposed to be.

This only makes sense when the terminal used to view the files is
set to the same codepage, but all other files in the kernel now use
utf-8 encoding.

This changes those comments to utf-8 as well, for consistency.

Signed-off-by: Arnd Bergmann 
---
 lib/fonts/font_7x14.c  | 256 ++---
 lib/fonts/font_8x16.c  | 256 ++---
 lib/fonts/font_8x8.c   | 256 ++---
 lib/fonts/font_pearl_8x8.c | 256 ++---
 4 files changed, 512 insertions(+), 512 deletions(-)

diff --git a/lib/fonts/font_7x14.c b/lib/fonts/font_7x14.c
index 9ae5b62c8a0d..89752d0b23e8 100644
--- a/lib/fonts/font_7x14.c
+++ b/lib/fonts/font_7x14.c
@@ -2058,7 +2058,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 128 0x80 '?' */
+   /* 128 0x80 '??' */
0x00, /* 000 */
0x38, /* 0011100 */
0x6c, /* 0110110 */
@@ -2074,7 +2074,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x70, /* 0111000 */
0x00, /* 000 */
 
-   /* 129 0x81 '?' */
+   /* 129 0x81 '??' */
0x00, /* 000 */
0xcc, /* 1100110 */
0x00, /* 000 */
@@ -2090,7 +2090,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 130 0x82 '?' */
+   /* 130 0x82 '??' */
0x0c, /* 110 */
0x18, /* 0001100 */
0x30, /* 0011000 */
@@ -2106,7 +2106,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 131 0x83 '?' */
+   /* 131 0x83 '??' */
0x10, /* 0001000 */
0x38, /* 0011100 */
0x6c, /* 0110110 */
@@ -2122,7 +2122,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 132 0x84 '?' */
+   /* 132 0x84 '??' */
0x00, /* 000 */
0xcc, /* 1100110 */
0x00, /* 000 */
@@ -2138,7 +2138,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 133 0x85 '?' */
+   /* 133 0x85 '??' */
0x60, /* 011 */
0x30, /* 0011000 */
0x18, /* 0001100 */
@@ -2154,7 +2154,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 134 0x86 '?' */
+   /* 134 0x86 '??' */
0x38, /* 0011100 */
0x6c, /* 0110110 */
0x38, /* 0011100 */
@@ -2170,7 +2170,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 135 0x87 '?' */
+   /* 135 0x87 '??' */
0x00, /* 000 */
0x00, /* 000 */
0x00, /* 000 */
@@ -2186,7 +2186,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x30, /* 0011000 */
0xe0, /* 111 */
 
-   /* 136 0x88 '?' */
+   /* 136 0x88 '??' */
0x10, /* 0001000 */
0x38, /* 0011100 */
0x6c, /* 0110110 */
@@ -2202,7 +2202,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 137 0x89 '?' */
+   /* 137 0x89 '??' */
0x00, /* 000 */
0xcc, /* 1100110 */
0x00, /* 000 */
@@ -2218,7 +2218,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 138 0x8a '?' */
+   /* 138 0x8a '??' */
0xc0, /* 110 */
0x60, /* 011 */
0x30, /* 0011000 */
@@ -2234,7 +2234,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 139 0x8b '?' */
+   /* 139 0x8b '??' */
0x00, /* 000 */
0x6c, /* 0110110 */
0x00, /* 000 */
@@ -2250,7 +2250,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 140 0x8c '?' */
+   /* 140 0x8c '??' */
0x30, /* 0011000 */
0x78, /* 000 */
0xcc, /* 1100110 */
@@ -2266,7 +2266,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 141 0x8d '?' */
+   /* 141 0x8d '??' */
0xc0, /* 110 */
0x60, /* 011 */
0x30, /* 0011000 */
@@ -2282,7 +2282,7 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
0x00, /* 000 */
0x00, /* 000 */
 
-   /* 142 0x8e '?' */
+   /* 142 0x8e '??' */
0x00, /* 000 */
0xcc,