Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76327627 authored by Sebastian Sanchez's avatar Sebastian Sanchez Committed by Doug Ledford
Browse files

IB/hfi1: Reduce oversized fields in struct hfi1_packet



Some fields in struct hfi1_packet are oversized.
Reduce them.

Reviewed-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: default avatarSebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent d7c76e91
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -356,12 +356,11 @@ struct hfi1_packet {
	u64 rhf;
	u32 maxcnt;
	u32 rhqoff;
	u32 hdrqtail;
	int numpkt;
	u16 tlen;
	u16 hlen;
	s16 etail;
	u16 rsize;
	u8 hlen;
	u8 numpkt;
	u8 rsize;
	u8 updegr;
	u8 rcv_flags;
	u8 etype;