Skip to content

Commit

Permalink
smp_ihk_arch_init: Fix error handling when Linux work IRQ isn't avail…
Browse files Browse the repository at this point in the history
…able

It's detected by -Werror=maybe-uninitialized

Change-Id: Ia68b3dcb8183d40dcf97add02b7bcde3f70c447e
  • Loading branch information
TOIDA-Suguru authored and masamichitakagi committed Aug 2, 2019
1 parent 7880d77 commit 4823dfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions linux/driver/smp/arch/arm64/smp-arch-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1850,6 +1850,7 @@ int smp_ihk_arch_init(void)

if (ihk_smp_irq == -1) {
printk("IHK-SMP: error: couldn't find Linux work IRQ\n");
error = -EFAULT;
goto error_free_irq;
}
printk("IHK-SMP: using Linux work IRQ (%d) for IKC IPI\n",
Expand Down

0 comments on commit 4823dfb

Please sign in to comment.