Re: [PATCH] ARM: OMAP: Fix use of possibly uninitialized irq variable

2021-04-01 Thread Nick Desaulniers
On Thu, Apr 1, 2021 at 9:12 AM Maciej Falkowski wrote: > > The current control flow of IRQ number assignment to `irq` variable > allows a request of IRQ of unspecified value, > generating a warning under Clang compilation with omap1_defconfig on > linux-next: > > arch/arm/mach-omap1/pm.c:656:11:

[PATCH] ARM: OMAP: Fix use of possibly uninitialized irq variable

2021-04-01 Thread Maciej Falkowski
The current control flow of IRQ number assignment to `irq` variable allows a request of IRQ of unspecified value, generating a warning under Clang compilation with omap1_defconfig on linux-next: arch/arm/mach-omap1/pm.c:656:11: warning: variable 'irq' is used uninitialized whenever 'if'

Re: [PATCH] ARM: OMAP: Fix use of possibly uninitialized irq variable

2021-04-01 Thread Nathan Chancellor
On Thu, Apr 01, 2021 at 06:11:27PM +0200, Maciej Falkowski wrote: > The current control flow of IRQ number assignment to `irq` variable > allows a request of IRQ of unspecified value, > generating a warning under Clang compilation with omap1_defconfig on > linux-next: > >