diff options
author | Huacai Chen <[email protected]> | 2021-02-09 15:10:51 +0800 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-02-09 10:41:40 +0000 |
commit | c1f664d2400e73d5ca0fcd067fa5847d2c789c11 (patch) | |
tree | 7e34d6ca38949a5db8f6c959365b2d90ba2f2d4f /kernel/locking/irqflag-debug.c | |
parent | be1abc5ba4d2082df6749ab95ec6f87c4d3dbb23 (diff) |
irqchip/loongson-pch-msi: Use bitmap_zalloc() to allocate bitmap
Currently we use bitmap_alloc() to allocate msi bitmap which should be
initialized with zero. This is obviously wrong but it works because msi
can fallback to legacy interrupt mode. So use bitmap_zalloc() instead.
Fixes: 632dcc2c75ef6de3272aa ("irqchip: Add Loongson PCH MSI controller")
Cc: [email protected]
Signed-off-by: Huacai Chen <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'kernel/locking/irqflag-debug.c')
0 files changed, 0 insertions, 0 deletions