mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
292010ee50
The existing KUNIT_ARRAY_PARAM macro requires a separate function to get the description. However, in a lot of cases the description can just be copied directly from the array. Add a second macro that avoids having to write a static function just for a single strscpy. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Reviewed-by: David Gow <davidgow@google.com> Link: https://msgid.link/20231220151952.415232-2-benjamin@sipsolutions.net Signed-off-by: Johannes Berg <johannes.berg@intel.com> |
||
---|---|---|
.. | ||
assert.h | ||
attributes.h | ||
resource.h | ||
static_stub.h | ||
test-bug.h | ||
test.h | ||
try-catch.h | ||
visibility.h |