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 07:51:18 +0000 (09:51 +0200)
commit65f2fae9115cb632d37475b9d161f486b5c56c2e
tree767809a22602981488be74e88644216c90948eb5
parentb2c9f82eb4a86a0e4c9d053f012f1cace98f237b
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.14/324-irqchip-bcm6345-periph-fix-block-uninitialized.patch [new file with mode: 0644]