Re: False-positive in Checkpatch

From: Joe Perches
Date: Thu Aug 18 2022 - 00:36:09 EST


On Wed, 2022-08-17 at 10:29 +0200, Matthias May wrote:
> Hi Checkpatch Maintainers
>
> The selftest patch at
> https://lore.kernel.org/netdev/20220817073649.26117-1-matthias.may@xxxxxxxxxxxx/T/#u
> claims too long lines.
> However this seems to be a misinterpretation of the indention before the printf split over 2
> lines to exactly not have too long lines.
> The false positive checkpatch results are also on the netdev patchwork:
> https://patchwork.kernel.org/project/netdevbpf/patch/20220817073649.26117-1-matthias.may@xxxxxxxxxxxx/

Each character in the boxing output is actually 3 ascii characters.
checkpatch doesn't interpret unicode within character strings.