diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2022-11-25 00:25:51 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-12-05 19:21:01 +0100 |
commit | 61bf992fc618503c910416f28afa0b015838b72b (patch) | |
tree | cb7076b5658c01be314cd01a5a687a018c79b107 /include/net/smc.h | |
parent | ebca4396ee18521e9e5d435a15e5d0ab2eb6b009 (diff) | |
download | linux-61bf992fc618503c910416f28afa0b015838b72b.tar.gz linux-61bf992fc618503c910416f28afa0b015838b72b.tar.bz2 linux-61bf992fc618503c910416f28afa0b015838b72b.zip |
genirq/msi: Add size info to struct msi_domain_info
To allow proper range checking especially for dynamic allocations add a
size field to struct msi_domain_info. If the field is 0 then the size is
unknown or unlimited (up to MSI_MAX_INDEX) to provide backwards
compability.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221124232325.501144862@linutronix.de
Diffstat (limited to 'include/net/smc.h')
0 files changed, 0 insertions, 0 deletions