diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-05-11 06:21:44 +0300 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-06-01 11:25:04 +0300 |
| commit | c70faabb6ddd06327ae778bf4f9b5b977749b315 (patch) | |
| tree | 9ece340f4b0721bdbf516295a97f9b74ef7ca7d4 /scripts/include | |
| parent | 60aa6734f542a6c4b63cfbaabc544c3e67412ce9 (diff) | |
| download | linux-c70faabb6ddd06327ae778bf4f9b5b977749b315.tar.xz | |
RISC-V: KVM: Use flexible array for APLIC IRQ state
Store the per-source APLIC IRQ state in the APLIC allocation instead
of allocating it separately.
This ties the IRQ state lifetime directly to the APLIC state, removes a
separate allocation failure path, and lets __counted_by() describe the
array bounds.
Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260511032144.361520-1-rosenp@gmail.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/include')
0 files changed, 0 insertions, 0 deletions
