Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1418029

Re: linux-next: build warnings after merge of the kbuild tree

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: linux-next: build warnings after merge of the kbuild tree
Date 2016-06-09 05:00 +0200
Message-ID <rHYmm-en-7@gated-at.bofh.it> (permalink)
References <rHXTk-8w3-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 8, 2016 at 7:22 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi Michal,
>
> After merging the kbuild tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:
>
> Cyclomatic Complexity 1 scripts/mod/devicetable-offsets.c:main
> Cyclomatic Complexity 1 kernel/bounds.c:foo
> Cyclomatic Complexity 1 arch/x86/kernel/asm-offsets_64.c:main
> Cyclomatic Complexity 1 arch/x86/kernel/asm-offsets.c:common
> Cyclomatic Complexity 5 arch/x86/ia32/audit.c:ia32_classify_syscall
>
> and so on (many, many of these - about 635,000 :-()

Congratulations on having the gcc plugin development headers
successfully installed! ;)

> Introduced (presumably) by commits
>
>   6b90bd4ba40b ("GCC plugin infrastructure")
>   0dae776c6bf3 ("Add Cyclomatic complexity GCC plugin")
>
> I have disabled CONFIG_GCC_PLUGIN_CYC_COMPLEXITY (by making it depend
> on CONFIG_BROKEN) until it is not enabled by default.

Ah, yes, that should default to off. We'll get a fix landed ASAP.

-Kees

-- 
Kees Cook
Chrome OS & Brillo Security

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

linux-next: build warnings after merge of the kbuild tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-06-09 04:30 +0200
  Re: linux-next: build warnings after merge of the kbuild tree Kees Cook <keescook@chromium.org> - 2016-06-09 05:00 +0200
    Re: linux-next: build warnings after merge of the kbuild tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-06-09 06:10 +0200
      Re: linux-next: build warnings after merge of the kbuild tree Michal Marek <mmarek@suse.cz> - 2016-06-09 13:00 +0200
        Re: linux-next: build warnings after merge of the kbuild tree Emese Revfy <re.emese@gmail.com> - 2016-06-09 19:40 +0200
          Re: linux-next: build warnings after merge of the kbuild tree Kees Cook <keescook@chromium.org> - 2016-06-09 20:00 +0200
      Re: linux-next: build warnings after merge of the kbuild tree Michael Ellerman <mpe@ellerman.id.au> - 2016-06-09 13:20 +0200
  Re: linux-next: build warnings after merge of the kbuild tree Emese Revfy <re.emese@gmail.com> - 2016-06-09 19:40 +0200

csiph-web