Linux-Next Archive on lore.kernel.org
 help / color / Atom feed
* linux-next: build warning after merge of the kunit-next tree
@ 2021-04-06 10:23 Stephen Rothwell
  2021-04-06 17:32 ` Daniel Latypov
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2021-04-06 10:23 UTC (permalink / raw)
  To: Shuah Khan, Brendan Higgins
  Cc: Daniel Latypov, Uriel Guajardo, Linux Kernel Mailing List,
	Linux Next Mailing List


[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next: build warning after merge of the kunit-next tree
  2021-04-06 10:23 linux-next: build warning after merge of the kunit-next tree Stephen Rothwell
@ 2021-04-06 17:32 ` Daniel Latypov
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Latypov @ 2021-04-06 17:32 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Shuah Khan, Brendan Higgins, Uriel Guajardo,
	Linux Kernel Mailing List, Linux Next Mailing List

Thanks for the catch.
Should be addressed by
https://lore.kernel.org/linux-kselftest/20210406172901.1729216-1-dlatypov@google.com/

When I was testing the CONFIG_KUNIT=n case, I added it to a file that
wasn't being compiled (CONFIG_UBSAN=y is not sufficient for
lib/ubsan.c to be compiled...).

On Tue, Apr 6, 2021 at 3:24 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 10:23 linux-next: build warning after merge of the kunit-next tree Stephen Rothwell
2021-04-06 17:32 ` Daniel Latypov

Linux-Next Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-next/0 linux-next/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-next linux-next/ https://lore.kernel.org/linux-next \
		linux-next@vger.kernel.org
	public-inbox-index linux-next

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-next


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git