diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-10 15:00:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-16 00:28:56 +0300 |
commit | dfcc16c9d5b9c9c38fe18a91da63ab5af05d96ca (patch) | |
tree | d28a211195193d30ce8cf5e045bf331448bc9cd6 /drivers/net/ethernet/xilinx | |
parent | 521ea95225e3258feea2d725140c691588553b63 (diff) | |
download | linux-dfcc16c9d5b9c9c38fe18a91da63ab5af05d96ca.tar.xz |
ioc3-eth: store pointer to net_device for priviate area
Computing the alignment manually for going from priv to pub is probably
not such a good idea, and in general the assumption that going from priv
to pub is possible trivially could change, so rather than relying on
that, we change things to just store a pointer to pub. This was sugested
by DaveM in [1].
[1] http://www.spinics.net/lists/netdev/msg443992.html
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx')
0 files changed, 0 insertions, 0 deletions