Dexuan Cui e70af8d040 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>
2022-11-03 15:50:28 +00:00
..
2022-10-05 17:32:53 -05:00
2021-06-16 17:20:40 -05:00
2022-03-07 12:06:10 -07:00
2020-07-29 14:25:18 -05:00
2022-08-10 11:07:26 -07:00
2022-05-31 09:56:54 -07:00
2022-10-05 17:32:53 -05:00
2022-10-05 17:32:57 -05:00
2021-02-10 16:46:29 -06:00
2021-09-28 13:43:17 -05:00
2020-08-05 18:23:14 -05:00