diff options
author | Daniel Latypov <dlatypov@google.com> | 2021-10-05 13:46:32 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-10-06 17:54:07 -0600 |
commit | 361b57df62de249dc0b2acbf48823662a5001bcd (patch) | |
tree | 7f9888bb0e3540474ba3b495c63f333b55cd6cf3 /scripts | |
parent | a8cf90332ae3e2b53813a146a99261b6a5e16a73 (diff) | |
download | linux-361b57df62de249dc0b2acbf48823662a5001bcd.tar.bz2 |
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 'scripts')
0 files changed, 0 insertions, 0 deletions