Skip to content
Commit 3e2f61cd authored by Xi Wang's avatar Xi Wang Committed by David S. Miller
Browse files

ixp4xx_hss: 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: default avatarXi Wang <xi.wang@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a490117
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment