Skip to content

Commit 25e324b

Browse files
rmr167shuahkh
authored andcommitted
kunit: fix struct kunit_attr header
Add parameter descriptions to struct kunit_attr header for the parameters attr_default and print. Fixes: 39e92cb ("kunit: Add test attributes API structure") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202308180127.VD7YRPGa-lkp@intel.com/ Signed-off-by: Rae Moar <rmoar@google.com> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
1 parent 582eb3a commit 25e324b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/kunit/attributes.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ enum print_ops {
3030
* attribute value
3131
* @filter: function to indicate whether a given attribute value passes a
3232
* filter
33+
* @attr_default: default attribute value used during filtering
34+
* @print: value of enum print_ops to indicate when to print attribute
3335
*/
3436
struct kunit_attr {
3537
const char *name;

0 commit comments

Comments
 (0)