diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-02-12 14:10:11 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-02-14 15:24:34 +0300 |
commit | fc03acaeab358c008a194b78daa10e78401376a8 (patch) | |
tree | 4bb054bda7e8fc7cdfc53d7fbf39999149bfcfd7 /drivers/mtd/parsers | |
parent | 518bfe84ec417318b2470652cdb27978ddfeaa59 (diff) | |
download | linux-fc03acaeab358c008a194b78daa10e78401376a8.tar.xz |
irqchip/irq-sifive-plic: Check and continue in case of an invalid cpuid.
riscv_hartid_to_cpuid can return invalid cpuid for a hart that is
present in DT but was never brought up.
Print the appropriate warning message and continue.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/mtd/parsers')
0 files changed, 0 insertions, 0 deletions