From: David Kershner Date: Tue, 16 Jun 2015 03:31:58 +0000 (-0400) Subject: staging: unisys: define structures outside of iochannel X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbb9d619941ad57dbe3c6667764e1eccd5ee5f1b;p=pandora-kernel.git staging: unisys: define structures outside of iochannel 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 correct offset was generated. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed