]> git.baikalelectronics.ru Git - kernel.git/commit
ixp4xx_eth: avoid calling dma_pool_create() with NULL dev
authorXi Wang <xi.wang@gmail.com>
Sat, 17 Nov 2012 20:25:09 +0000 (20:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2012 20:12:44 +0000 (15:12 -0500)
commite36d047d530bf62aef1420fe69dd21de08a64f2d
tree3e2cdaceb6b4f1d8bd7330a26aa3ee16422f48f5
parenta3bf53422077d7a90fbc28e182f3e88ab23f83ae
ixp4xx_eth: avoid calling dma_pool_create() with NULL dev

Use &port->netdev->dev instead of NULL since dma_pool_create() doesn't
allow NULL dev.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xscale/ixp4xx_eth.c