net: illegal_highdma() fix
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 2 Apr 2010 20:34:49 +0000 (13:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2010 20:34:49 +0000 (13:34 -0700)
Followup to commit 5acbbd428db47b12f137a8a2aa96b3c0a96b744e
(net: change illegal_highdma to use dma_mask)

If dev->dev.parent is NULL, we should not try to dereference it.

Dont force inline illegal_highdma() as its pretty big now.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

diff --cc net/core/dev.c
Simple merge