mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
kunit: fix struct kunit_attr header
Add parameter descriptions to struct kunit_attr header for the
parameters attr_default and print.
Fixes: 39e92cb1e4
("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>
This commit is contained in:
parent
582eb3aeed
commit
25e324bc9c
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue