[PATCH] devtools: fix false positive from checkpatch
Stephen Hemminger
stephen at networkplumber.org
Tue Sep 17 18:54:46 CEST 2024
On Tue, 17 Sep 2024 16:45:35 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:
> > # concatenate codespell dictionaries, except GB/US one
> > for suffix in .txt _code.txt _informal.txt _names.txt _rare.txt _usage.txt ; do
> > @@ -17,6 +21,7 @@ sed '/^..->/d' |
> > sed '/^uint->/d' |
> > sed "/^doesn'->/d" |
> > sed '/^wasn->/d' |
> > +sed '/stdio->/d' |
> >
> Seems a good idea. However, why use "stdio" alone rather than using the
> full "stdio.h" header name. Do we expect "stdio" to be used much in
> comments or otherwise?
>
> /Bruce
This script removes entries from the codespell dictionary.
So we are removing this line:
stdio->studio
Which causes:
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
More information about the dev
mailing list