diff options
author | Dexuan Cui | 2022-10-27 13:52:56 -0700 |
---|---|---|
committer | Wei Liu | 2022-11-03 15:50:28 +0000 |
commit | e70af8d040d2b7904dca93d942ba23fb722e21b1 (patch) | |
tree | 44e75961a2ff87d352761f9603633ea75f76b12f /net/tls | |
parent | 9539c7fa38d35f869e83d56eb65a0b681644031b (diff) |
PCI: hv: Fix the definition of vector in hv_compose_msi_msg()
The local variable 'vector' must be u32 rather than u8: see the
struct hv_msi_desc3.
'vector_count' should be u16 rather than u8: see struct hv_msi_desc,
hv_msi_desc2 and hv_msi_desc3.
Fixes: a2bad844a67b ("PCI: hv: Fix interrupt mapping for multi-MSI")
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: Jeffrey Hugo <quic_jhugo@quicinc.com>
Cc: Carl Vanderlip <quic_carlv@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/r/20221027205256.17678-1-decui@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions