summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/originator.h
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-06-19 04:32:32 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-19 09:48:58 +0200
commit646093a29f85630d8efe2aa38fa585d2c3ea2e46 (patch)
tree1961c2a83d9bd491f2ce6d236c258fd9cf292661 /net/batman-adv/originator.h
parentstaging/rtl8192u: convert skb->tail into skb_tail_pointer(skb) (diff)
downloadlinux-646093a29f85630d8efe2aa38fa585d2c3ea2e46.tar.xz
linux-646093a29f85630d8efe2aa38fa585d2c3ea2e46.zip
bcm63xx_enet: fix return value check in bcm_enet_shared_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Introduce by commit 0ae99b5fede6f3a8d252d50bb4aba29544295219 (bcm63xx_enet: split DMA channel register accesses) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/originator.h')
0 files changed, 0 insertions, 0 deletions