From: Rae Moar Date: Thu, 17 Aug 2023 19:14:51 +0000 (+0000) Subject: kunit: fix struct kunit_attr header X-Git-Tag: v6.6.17~3934^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25e324bc9cf2ee956eec1db384c39c1a17b7c44a;p=platform%2Fkernel%2Flinux-rpi.git 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 Closes: https://lore.kernel.org/oe-kbuild-all/202308180127.VD7YRPGa-lkp@intel.com/ Signed-off-by: Rae Moar Reviewed-by: David Gow Signed-off-by: Shuah Khan --- diff --git a/lib/kunit/attributes.c b/lib/kunit/attributes.c index 5e3034b..1b512f7 100644 --- a/lib/kunit/attributes.c +++ b/lib/kunit/attributes.c @@ -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;