Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1510755
| From | Linus Torvalds <torvalds@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: linux-next: build warning in Linus' tree |
| Date | 2016-10-28 00:50 +0200 |
| Message-ID | <sx1EK-80D-9@gated-at.bofh.it> (permalink) |
| References | <sx1ln-7TN-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Oct 27, 2016 at 3:29 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Building your tree, today's linux-next build (powerpc ppc64_defconfig)
> produced this warning:
>
> mm/memory_hotplug.c: In function 'try_offline_node':
> mm/memory_hotplug.c:2120:6: warning: unused variable 'i' [-Wunused-variable]
> int i;
> ^
>
> Introduced by commit
>
> 9dcb8b685fc3 ("mm: remove per-zone hashtable of bitlock waitqueues")
Strange. I wonder why I didn't see that warning. Not with
allmodconfig, and not with my normal build.
[ Looks around ]
Hmm. Apparently "allmodconfig" doesn't actually enable memory hotplug.
And the reason is that allmodconfig enables KASAN, which then disables
MEMORY_HOTPLUG.
I wonder if we should make KASAN depend on !COMPILE_TEST, because it
does seem to disable a lot of build-time testing.
Oh well. I'll remove the stupid unused variable, thanks for the heads-up.
Linus
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
linux-next: build warning in Linus' tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-10-28 00:30 +0200
Re: linux-next: build warning in Linus' tree Linus Torvalds <torvalds@linux-foundation.org> - 2016-10-28 00:50 +0200
Re: linux-next: build warning in Linus' tree Linus Torvalds <torvalds@linux-foundation.org> - 2016-10-28 01:10 +0200
Re: linux-next: build warning in Linus' tree Alexander Potapenko <glider@google.com> - 2016-10-28 01:10 +0200
Re: linux-next: build warning in Linus' tree Linus Torvalds <torvalds@linux-foundation.org> - 2016-10-28 01:30 +0200
Re: linux-next: build warning in Linus' tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-10-28 01:50 +0200
Re: linux-next: build warning in Linus' tree Geert Uytterhoeven <geert@linux-m68k.org> - 2016-10-29 23:30 +0200
csiph-web