[waffle] [PATCH 0/4] Check values of some waffle_config attrs
Chad Versace
chad.versace at linux.intel.com
Tue Sep 25 16:48:47 PDT 2012
wcore_config_attrs_parse() neglected to check the values of some attributes.
This series adds checks and accompanying unittests.
Chad Versace (4):
core: Emit error if an integral waffle_config attr is < -1
core: Add unittests for negative integral waffle_config attributes
core: Emit error if boolean waffle_config attr has bad value
core: Add unittests for boolean waffle_config attrs
src/waffle/core/wcore_config_attrs.c | 91 +++++++----------
src/waffle/core/wcore_config_attrs_unittest.c | 135 ++++++++++++++++++++++++++
2 files changed, 172 insertions(+), 54 deletions(-)
--
1.7.12.1
More information about the waffle
mailing list