| #
6e5cb5c9 |
| 19-Aug-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
checkpatch: add ignore=STRLCPY
Checkpatch complains over strlcpy: WARNING: Prefer strscpy over strlcpy - see: https://github.com/KSPP/linux/issues/89
However, OP-TEE doesn't have a strscpy() functi
checkpatch: add ignore=STRLCPY
Checkpatch complains over strlcpy: WARNING: Prefer strscpy over strlcpy - see: https://github.com/KSPP/linux/issues/89
However, OP-TEE doesn't have a strscpy() function to use, so silence the warning until one is available.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| #
cac7ad0c |
| 25-Aug-2020 |
Jerome Forissier <jerome@forissier.org> |
checkpatch: add --kconfig-prefix=CFG_
A few days before v5.9-rc1, the checkpatch.pl script was modified in the Linux kernel tree [1]. This caused spurious warnings in the OP-TEE CI such as [2]:
WA
checkpatch: add --kconfig-prefix=CFG_
A few days before v5.9-rc1, the checkpatch.pl script was modified in the Linux kernel tree [1]. This caused spurious warnings in the OP-TEE CI such as [2]:
WARNING: IS_ENABLED(CFG_VIRTUALIZATION) is normally used as IS_ENABLED(CONFIG_CFG_VIRTUALIZATION)
Fortunately, checkpatch now has an option to control the prefix used for configuration variables [3]. Add this option to .checkpatch.conf.
Link: [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=50161266973bcc662e969e63d68fc7bff71de21b Link: [2] https://travis-ci.org/github/OP-TEE/optee_os/builds/717905104 Link: [3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3e89ad8506f39c4739a6c9ca1e1552f506f000c9 Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| #
751083b6 |
| 26-Jun-2020 |
Jens Wiklander <jens.wiklander@linaro.org> |
checkpatch: limit maximum line length to 80
The Linux kernel has recently increased maximum line length to 100, but still recommends to stay under 80. So make sure the checkpatch still warn when exc
checkpatch: limit maximum line length to 80
The Linux kernel has recently increased maximum line length to 100, but still recommends to stay under 80. So make sure the checkpatch still warn when exceeding 80.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| #
e7e31423 |
| 07-May-2020 |
Maxim Uvarov <maxim.uvarov@linaro.org> |
checkpatch: add codespell support
Add codespell check. If codespell dictionary is missing then checkpatch.pl will generate warning but it will not fail patch check.
Signed-off-by: Maxim Uvarov <max
checkpatch: add codespell support
Add codespell check. If codespell dictionary is missing then checkpatch.pl will generate warning but it will not fail patch check.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Acked-by: Jerome Forissier <jerome@forissier.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| #
11ec4014 |
| 06-May-2020 |
Maxim Uvarov <maxim.uvarov@linaro.org> |
checkpatch: move options to config file
move checkpatch command line options to config file setting.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Acked-by: Jerome Forissier <jerome@forissi
checkpatch: move options to config file
move checkpatch command line options to config file setting.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Acked-by: Jerome Forissier <jerome@forissier.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|