irqchip/gic-v3-mbi: Fix uninitialized mbi_lock
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 26 Oct 2018 07:51:17 +0000 (15:51 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 17 Jan 2019 17:03:44 +0000 (17:03 +0000)
commitc530bb8a726a37811e9fb5d68cd6b5408173b545
treef67c178459f25344a0ff028c1cd9ba883e701114
parent1d47f48bf2d1608c2d6eb76b3ec7a5ec0c3f9e95
irqchip/gic-v3-mbi: Fix uninitialized mbi_lock

The mbi_lock mutex is left uninitialized, so let's use DEFINE_MUTEX
to initialize it statically.

Fixes: 505287525c24d ("irqchip/gic-v3: Add support for Message Based Interrupts as an MSI controller")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-mbi.c