git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
486bf8d
)
infiniband: Kill directly reference of netdev->priv
author
Wang Chen
<wangchen@cn.fujitsu.com>
Mon, 24 Nov 2008 23:34:00 +0000
(15:34 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 24 Nov 2008 23:34:00 +0000
(15:34 -0800)
This use of netdev->priv is wrong.
The right way is:
alloc_netdev() with no memory for private data.
make netdev->ml_priv to point to c2_dev.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Acked-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found