Re: [PATCH] perf/x86: Fix 'may be used uninitialized' build warnings in core.c

2017-01-12 Thread Ingo Molnar
* Augusto Mecking Caringi wrote: > This patch fixes the following build warnings in core.c: > > linux/arch/x86/events/core.c: In function ‘init_hw_perf_events’: > linux/include/linux/printk.h:292:2: warning: ‘reg_fail’ may be used > uninitialized in this function

Re: [PATCH] perf/x86: Fix 'may be used uninitialized' build warnings in core.c

2017-01-12 Thread Ingo Molnar
* Augusto Mecking Caringi wrote: > This patch fixes the following build warnings in core.c: > > linux/arch/x86/events/core.c: In function ‘init_hw_perf_events’: > linux/include/linux/printk.h:292:2: warning: ‘reg_fail’ may be used > uninitialized in this function [-Wmaybe-uninitialized] >

[PATCH] perf/x86: Fix 'may be used uninitialized' build warnings in core.c

2017-01-05 Thread Augusto Mecking Caringi
This patch fixes the following build warnings in core.c: linux/arch/x86/events/core.c: In function ‘init_hw_perf_events’: linux/include/linux/printk.h:292:2: warning: ‘reg_fail’ may be used uninitialized in this function [-Wmaybe-uninitialized] printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^

[PATCH] perf/x86: Fix 'may be used uninitialized' build warnings in core.c

2017-01-05 Thread Augusto Mecking Caringi
This patch fixes the following build warnings in core.c: linux/arch/x86/events/core.c: In function ‘init_hw_perf_events’: linux/include/linux/printk.h:292:2: warning: ‘reg_fail’ may be used uninitialized in this function [-Wmaybe-uninitialized] printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^