Re: [PATCH 3/5] staging: unisys: define structures outside of iochannel

2015-06-16 Thread Greg KH
On Mon, Jun 15, 2015 at 11:31:58PM -0400, Benjamin Romer wrote: > From: David Kershner > > During testing with visornic the offset of num_rcv_bufs > was being reported at 188 instead of 186. The vnic structure > starts at 180 and the macaddr is only 6 bytes long. > > When I defined and packed th

[PATCH 3/5] staging: unisys: define structures outside of iochannel

2015-06-15 Thread Benjamin Romer
From: David Kershner During testing with visornic the offset of num_rcv_bufs was being reported at 188 instead of 186. The vnic structure starts at 180 and the macaddr is only 6 bytes long. When I defined and packed the structures outside of the struct and then referenced them in the struct the