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> |
||
|---|---|---|
| .. | ||
| api | ||
| architecture.rst | ||
| faq.rst | ||
| index.rst | ||
| kunit_suitememorydiagram.svg | ||
| run_manual.rst | ||
| run_wrapper.rst | ||
| running_tips.rst | ||
| start.rst | ||
| style.rst | ||
| usage.rst | ||