linux-next: build warning after merge of the kunit-next tree

From: Stephen Rothwell
Date: Tue Apr 06 2021 - 06:24:09 EST


Hi all,

After merging the kunit-next tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

In file included from lib/kunit/test.c:10:
include/kunit/test-bug.h:22:28: warning: '__kunit_fail_current_test' defined but not used [-Wunused-function]
22 | static __printf(3, 4) void __kunit_fail_current_test(const char *file, int line,
| ^~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

359a376081d4 ("kunit: support failure from dynamic analysis tools")

--
Cheers,
Stephen Rothwell

Attachment: pgphHkoaQthXy.pgp
Description: OpenPGP digital signature