kunit: fix struct kunit_attr header
PATCH 1/1 kunit: fix struct kunit_attr header
Add parameter descriptions to struct kunit_attr header for the parameters attr_default and print.
Fixes 39e92cb1e4a1 ("kunit: Add test attributes API structure")
Reported-by kernel test robot <[email protected]>
Signed-off-by Rae Moar <[email protected]>
--- lib/kunit/attributes.c | 2 ++ 1 file changed, 2 insertions(+)
lib/kunit/attributes.c +2 -0
@@ -30,6 +30,8 @@ enum print_ops {* attribute value * @filter: function to indicate whether a given attribute value passes a * filter +* @attr_default: default attribute value used during filtering +* @print: value of enum print_ops to indicate when to print attribute */ struct kunit_attr {const char *name;
base-commit: 582eb3aeed2d06b122fba95518b84506d3d4ceb9
Signature · 1 line
2.42.0.rc1.204.g551eb34607-goog
Quoted 11 lines · Rae Moar
Add parameter descriptions to struct
kunit_attrheader for the parametersattr_defaultand print.Fixes 39e92cb1e4a1 ("kunit: Add test attributes API structure")Reported-by kernel test robot <[email protected]>Signed-off-by Rae Moar <[email protected]>---
LGTM, Thanks.
Reviewed-by David Gow <[email protected]>
Cheers,
-- David
Quoted 21 lines
lib/kunit/attributes.c | 2 ++ 1 file changed, 2 insertions(+)lib/kunit/attributes.c +2
-0@@ -30,6 +30,8 @@ enum print_ops {* attribute value * @filter: function to indicate whether a given attribute value passes a * filter +* @attr_default: default attribute value used during filtering +* @print: value of enum print_ops to indicate when to print attribute */ struct kunit_attr {const char *name;base-commit:
582eb3aeed2d06b122fba95518b84506d3d4ceb9--
2.42.0.rc1.204.g551eb34607-goog