coreboot/util/lint
Martin Roth 38c7314137 util/lint: Remove SuperIO from checkpatch spellcheck
Patch 423e9e0fc0: Documentation/lint: Use Super I/O instead of SuperIO
added the word SuperIO to the checkpatch spelling list.

There were unfortunately some issues with this.

1) This introduced a problem because the comparison is used in different
cases in different places.  The misspelled word is compared ignoring
the case, but when looking for the correct word, it looks through the
list for the misspelling in all lowercase.  When it couldn't find the
word "superio" in the list, the variable came back uninitialized.

2) The spellcheck feature isn't enabled in checkpatch unless the option
--strict is enabled, so this wasn't getting reported anyway.

3) SuperIO (or superio) will match the KCONFIG options such as
CONFIG_SUPERIO_NUVOTON_NCT5104D, and suggest "Super I/O" which doesn't
make any sense.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I464305af539926ac8a45c9c0d59eeb2c78dea17a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61434
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
2022-01-31 03:34:30 +00:00
..
check-style util: Fix up a few comments after the "file is part of the" removal 2020-05-11 17:11:50 +00:00
check_lint_tests lint/check_lint_tests: Fix obsolete paths 2020-03-02 15:05:32 +00:00
checkpatch.pl util/lint/checkpatch: Decrease commit message line length limit to 72 2021-12-10 20:54:56 +00:00
checkpatch_json.py checkpatch_json: Mark robotic comments as robotic 2021-04-15 19:08:00 +00:00
const_structs.checkpatch
description.md
kconfig_lint util/lint/kconfig_lint: Fix off by one error that missed last line 2021-11-09 14:14:46 +00:00
kconfig_lint_README util/lint: Make usage of IS_ENABLED() an error 2019-06-04 13:16:16 +00:00
lint util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-000-license-headers util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-001-no-global-config-in-romstage util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-007-checkpatch util/lint: Fix linters to work with coreboot-configurator 2021-11-19 13:34:55 +00:00
lint-008-kconfig util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-014-qualified-types util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-extended-007-checkpatch util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-extended-015-final-newlines util/lint: Fix linters to work with coreboot-configurator 2021-11-19 13:34:55 +00:00
lint-extended-020-signed-off-by util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-000-license-headers util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-003-whitespace util/lint/lint-stable-003-whitespace: add exception for gif files 2022-01-28 20:36:38 +00:00
lint-stable-004-style-labels util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-005-board-status util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-006-board-name util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-008-kconfig util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-009-old-licenses util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-010-asm-syntax util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-012-executable-bit util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-013-site-local util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-016-non-ascii util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-017-configs util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-018-symlinks util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-019-header-files util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-021-coreboot-lowercase util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-022-clang-format util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-023-filenames util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-024-kconfig-no-subsystem util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-026-line-endings util/lint: Check for windows line endings 2021-02-25 10:03:32 +00:00
lint-stable-027-maintainers-syntax lint: MAINTAINERS: check path matches to not only cover the directory 2021-04-13 14:29:43 +00:00
remccoms3.sed util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
spelling.txt util/lint: Remove SuperIO from checkpatch spellcheck 2022-01-31 03:34:30 +00:00