linux-next.vger.kernel.org archive mirror
 help / color / mirror / 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; 4+ 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] 4+ 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; 4+ 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] 4+ messages in thread

* Re: linux-next: build warning after merge of the kunit-next tree
  2022-04-27  6:19 Stephen Rothwell
@ 2022-07-04 23:17 ` Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2022-07-04 23:17 UTC (permalink / raw)
  To: Shuah Khan, Brendan Higgins
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

On Wed, 27 Apr 2022 16:19:01 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> After merging the kunit-next tree, today's linux-next build (htmldocs)
> produced this warning:
> 
> Documentation/dev-tools/kunit/api/test:9: include/kunit/test.h:318: WARNING: Inline interpreted text or phrase reference start-string without end-string.
> 
> Introduced by commit
> 
>   9bf2eed995f9 ("kunit: add support for kunit_suites that reference init code")

I am still getting this warning. (Its on line 324 now)
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: build warning after merge of the kunit-next tree
@ 2022-04-27  6:19 Stephen Rothwell
  2022-07-04 23:17 ` Stephen Rothwell
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2022-04-27  6:19 UTC (permalink / raw)
  To: Shuah Khan, Brendan Higgins
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

Documentation/dev-tools/kunit/api/test:9: include/kunit/test.h:318: WARNING: Inline interpreted text or phrase reference start-string without end-string.

Introduced by commit

  9bf2eed995f9 ("kunit: add support for kunit_suites that reference init code")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2022-07-04 23:17 UTC | newest]

Thread overview: 4+ 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
2022-04-27  6:19 Stephen Rothwell
2022-07-04 23:17 ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).