diff options
author | Bin Meng <bmeng@tinylab.org> | 2022-12-11 11:08:20 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-01-06 10:42:55 +1000 |
commit | 7b0f26e420f7988ae8c257c1f4369ba92c9b1594 (patch) | |
tree | caf5b25ff100238d450d906123cfad26bbb9eca4 /net/announce.c | |
parent | 2904dc1c1e7895a65a2ac18ea4bb1042d6dced50 (diff) |
hw/intc: sifive_plic: Improve robustness of the PLIC config parser
At present the PLIC config parser can only handle legal config string
like "MS,MS". However if a config string like ",MS,MS,,MS,MS,," is
given the parser won't get the correct configuration.
This commit improves the config parser to make it more robust.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20221211030829.802437-7-bmeng@tinylab.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'net/announce.c')
0 files changed, 0 insertions, 0 deletions