diff options
| author | Andrey Shvetsov <[email protected]> | 2017-05-12 12:59:58 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-05-15 11:59:10 +0200 |
| commit | 578bdec44cc02a4d7bfd6390adee50036152e67c (patch) | |
| tree | 28a49bebfe664252cd5889e81c4e79ec52b033c4 /tools/perf/scripts/python/bin | |
| parent | d54516086d95c8f2bd67716f54932e3fd3a904b8 (diff) | |
staging: most: allocate private net_dev_context with the alloc_netdev
This moves the allocation of the net_dev to the aim_probe_channel() and
uses the parameter sizeof_priv of the function alloc_netdev to reserve
the space for the struct net_dev_context.
As a side effect, the nd->dev always points to the existing net_dev.
Signed-off-by: Andrey Shvetsov <[email protected]>
Signed-off-by: Christian Gromm <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions