Skip to content

Commit

Permalink
IB/hfi1: Reduce oversized fields in struct hfi1_packet
Browse files Browse the repository at this point in the history
Some fields in struct hfi1_packet are oversized.
Reduce them.

Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
  • Loading branch information
ssanchez11 authored and dledford committed Feb 19, 2017
1 parent d7c76e9 commit 7632762
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/infiniband/hw/hfi1/hfi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7632762

Please sign in to comment.