bcm63xx: periph_intc: fix warning
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 18 May 2020 07:16:02 +0000 (09:16 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 18 May 2020 08:55:06 +0000 (10:55 +0200)
commit183e9843e1b694cc6183de6855b897a85b0a2a36
tree117b384d38ef428e88ef73f815c6ffba9f03cc0e
parenta9eebf69f3787d2637ffb2353528d6c24f20769a
bcm63xx: periph_intc: fix warning

drivers/irqchip/irq-bcm6345-periph.c: In function 'bcm6345_periph_irq_handle':
drivers/irqchip/irq-bcm6345-periph.c:55:21: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized]
  struct intc_block *block;
                     ^~~~~

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit f2f2cf07a61e9c170ab8d65e1e054f0131a84e2a)
target/linux/brcm63xx/patches-4.9/324-irqchip-bcm6345-periph-fix-block-uninitialized.patch [new file with mode: 0644]