2021-02-20 06:34:55

by Heinrich Schuchardt

[permalink] [raw]
Subject: [BUG] checkpatch: false positive unwrapped commit description

The next line leads to a false positive
Possible unwrapped commit description
(prefer a maximum 75 chars per line)

element type is ‘struct reg_info‘, not ‘u32‘ {aka ‘unsigned int‘}

+++++++++|+++++++++|+++++++++|+++++++++|+++++++++|+++++++++|+++++++++|
10 20 30 40 50 60 70

Unicode code point 0x2018 (‘) is counted as three characters
instead of one.

This code point is used in the GCC 11 warning sizeof-array-div.
Citing the warning verbatim lead to the observation.

Signed-off-by: Heinrich Schuchardt <[email protected]>
---
foo.txt | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 foo.txt

diff --git a/foo.txt b/foo.txt
new file mode 100644
index 000000000000..e69de29bb2d1
--
2.30.0