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= |
---|
|
.checkpatch.conf |
---|