Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1671358
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | linux-next: build warning after merge of the percpu tree |
| Date | 2017-06-21 07:30 +0200 |
| Message-ID | <tUGng-1Tn-31@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi all,
After merging the percpu tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
In file included from include/linux/kernel.h:13:0,
from include/linux/bitmap.h:9,
from mm/percpu.c:58:
mm/percpu.c: In function 'pcpu_alloc':
include/linux/printk.h:303:2: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]
printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
^
mm/percpu.c:864:14: note: 'err' was declared here
const char *err;
^
I am not sure which commit introduced this, although the
if (is_atomic)
goto fail;
in pcpu_alloc() looks suspicious.
--
Cheers,
Stephen Rothwell
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
linux-next: build warning after merge of the percpu tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-21 07:30 +0200 Re: [PATCH 1/1] percpu: resolve err may not be initialized in pcpu_alloc Tejun Heo <tj@kernel.org> - 2017-06-21 18:30 +0200
csiph-web