public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* question about drivers/net/ethernet/nxp/lpc_eth.c
@ 2013-08-13 15:01 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2013-08-13 15:01 UTC (permalink / raw)
  To: grant.likely, rob.herring, netdev, linux-kernel, devicetree

I wonder why drivers/net/ethernet/nxp/lpc_eth.c uses dev_alloc_skb in the
function __lpc_handle_recv, rather than netdev_alloc_skb?  The difference
seems to be only that with dev_alloc_skb, the dev field of the skb is
initialized to NULL, rather than to a net_device, but this function seems
to have a net_device value available, so I wonder why it is not used?

thanks,
julia

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-13 15:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 15:01 question about drivers/net/ethernet/nxp/lpc_eth.c Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox