diff options
author | 2024-06-23 09:45:40 -0700 | |
---|---|---|
committer | 2024-06-28 22:00:18 +0000 | |
commit | 03bd36a387b85089a38ff37a9646f7e0a1249fe4 (patch) | |
tree | 2c8608a632e98b6b350ae6456c63635e6606c638 /scripts/generate_rust_analyzer.py | |
parent | KVM: Documentation: Fix typo `BFD` (diff) | |
download | linux-rng-03bd36a387b85089a38ff37a9646f7e0a1249fe4.tar.xz linux-rng-03bd36a387b85089a38ff37a9646f7e0a1249fe4.zip |
KVM: Documentation: Enumerate allowed value macros of `irq_type`
The expression `irq_type[n]` may confuse readers to interpret `n`
as the bit position and think of CPU = 1 << 0, SPI = 1 << 1, and
PPI = 1 << 2.
Since arch/arm64/include/uapi/asm/kvm.h already has macro definitions
for the allowed values, this commit uses these symbols to clear up
the ambiguity.
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Link: https://lore.kernel.org/r/20240623164542.2999626-2-changyuanl@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions