Commit 32025878 authored by Jay Bhat's avatar Jay Bhat Committed by Leon Romanovsky
Browse files

RDMA/irdma: Fix vf_id size to u16 to avoid overflow

parent b8c9aab4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -706,7 +706,7 @@ struct irdma_sc_dev {
	u32 vchnl_ver;
	u16 num_vfs;
	u16 hmc_fn_id;
	u8 vf_id;
	u16 vf_id;
	bool privileged:1;
	bool vchnl_up:1;
	bool ceq_valid:1;