aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/cardreader
diff options
context:
space:
mode:
authorDaniel Latypov2021-10-05 13:46:32 -0700
committerShuah Khan2021-10-06 17:54:07 -0600
commit361b57df62de249dc0b2acbf48823662a5001bcd (patch)
tree7f9888bb0e3540474ba3b495c63f333b55cd6cf3 /drivers/misc/cardreader
parenta8cf90332ae3e2b53813a146a99261b6a5e16a73 (diff)
kunit: fix kernel-doc warnings due to mismatched arg names
Commit 7122debb4367 ("kunit: introduce kunit_kmalloc_array/kunit_kcalloc() helpers") added new functions but called last arg `flags`, unlike the existing code that used `gfp`. This only is an issue in test.h, test.c still used `gfp`. But the documentation was copy-pasted with the old names, leading to kernel-doc warnings. Do s/flags/gfp to make the names consistent and fix the warnings. Fixes: 7122debb4367 ("kunit: introduce kunit_kmalloc_array/kunit_kcalloc() helpers") Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Daniel Latypov <dlatypov@google.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/cardreader')
0 files changed, 0 insertions, 0 deletions