mirror of https://gitee.com/openkylin/linux.git
f65968ac19
When CONFIG_KUNIT is not enabled, __kunit_fail_current_test() an empty
static function.
But GCC complains about unused static functions, *unless* they're static
inline. So add inline to make GCC happy.
Fixes:
|
||
---|---|---|
.. | ||
assert.h | ||
test-bug.h | ||
test.h | ||
try-catch.h |