Re: [Xen-devel] [PATCH RFC] x86/irq: Fix maybe uninitalised issue in map_domain_pirq()

2018-01-26 Thread Jan Beulich
>>> On 25.01.18 at 20:14, wrote: > When compiling at -O3, GCC 7.2 reports: > > irq.c: In function 'map_domain_pirq': > irq.c:1271:20: error: 'info' may be used uninitialized in this function > [-Werror=maybe-uninitialized] >pirq->arch.irq = irq; >

[Xen-devel] [PATCH RFC] x86/irq: Fix maybe uninitalised issue in map_domain_pirq()

2018-01-25 Thread Andrew Cooper
When compiling at -O3, GCC 7.2 reports: irq.c: In function 'map_domain_pirq': irq.c:1271:20: error: 'info' may be used uninitialized in this function [-Werror=maybe-uninitialized] pirq->arch.irq = irq; ~~~^ irq.c:1917:18: note: 'info' was declared here