aboutsummaryrefslogtreecommitdiff
path: root/tools/patman
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:14:14 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:15:13 -0500
commit2a06da08e7897deb08c204df1c2f7853c4e61806 (patch)
tree572edaaf0eb2892c1bcd17586ec11a0cff809831 /tools/patman
parent0478dac62a9add8c73981a900ceaa6da732ae2bb (diff)
downloadu-boot-2a06da08e7897deb08c204df1c2f7853c4e61806.zip
u-boot-2a06da08e7897deb08c204df1c2f7853c4e61806.tar.gz
u-boot-2a06da08e7897deb08c204df1c2f7853c4e61806.tar.bz2
checkpatch.pl: Update CONFIG logic in U-Boot section
Now that all CONFIG symbols are in Kconfig, checkpatch.pl should check for and error on any case of define/undef CONFIG_*. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/patman')
-rw-r--r--tools/patman/test_checkpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/test_checkpatch.py b/tools/patman/test_checkpatch.py
index 8960cd5..4c2ab6e 100644
--- a/tools/patman/test_checkpatch.py
+++ b/tools/patman/test_checkpatch.py
@@ -396,7 +396,7 @@ index 0000000..2234c87
"""Test for enabling/disabling commands using preprocesor"""
pm = PatchMaker()
pm.add_line('common/main.c', '#undef CONFIG_CMD_WHICH')
- self.check_single_message(pm, 'DEFINE_CONFIG_CMD', 'error')
+ self.check_single_message(pm, 'DEFINE_CONFIG_SYM', 'error')
def test_barred_include_in_hdr(self):
"""Test for using a barred include in a header file"""