projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee10c9a
)
Additional check for TYPES_OF_CHECKS
author
Alexander Popov
<alex.popov@linux.com>
Thu, 31 Mar 2022 16:38:25 +0000
(19:38 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Wed, 20 Apr 2022 15:31:02 +0000
(18:31 +0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index 79a93dcad4eded434798440313924bbc845bebe9..04121d412f7093cbe9c2d27f9d10c6317b193ad4 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-715,6
+715,8
@@
def populate_simple_opt_with_data(opt, data, data_type):
opt.state = data.get(opt.name, None)
elif data_type == 'version':
opt.ver = data
+ else:
+ sys.exit('[!] ERROR: unexpected data type "{}"'.format(data_type))
def populate_opt_with_data(opt, data, data_type):