NULL noise in drivers/net
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1153,7 +1153,7 @@ static void hp100_init_pdls(struct net_device *dev)
|
||||
printk("hp100: %s: init pdls\n", dev->name);
|
||||
#endif
|
||||
|
||||
if (0 == lp->page_vaddr_algn)
|
||||
if (!lp->page_vaddr_algn)
|
||||
printk("hp100: %s: Warning: lp->page_vaddr_algn not initialised!\n", dev->name);
|
||||
else {
|
||||
/* pageptr shall point into the DMA accessible memory region */
|
||||
|
Reference in New Issue
Block a user