aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hp100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hp100.c')
-rw-r--r--drivers/net/hp100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hp100.c b/drivers/net/hp100.c
index 49421d1cd3a5..571dd80fb850 100644
--- a/drivers/net/hp100.c
+++ b/drivers/net/hp100.c
@@ -1153,7 +1153,7 @@ static void hp100_init_pdls(struct net_device *dev)
1153 printk("hp100: %s: init pdls\n", dev->name); 1153 printk("hp100: %s: init pdls\n", dev->name);
1154#endif 1154#endif
1155 1155
1156 if (0 == lp->page_vaddr_algn) 1156 if (!lp->page_vaddr_algn)
1157 printk("hp100: %s: Warning: lp->page_vaddr_algn not initialised!\n", dev->name); 1157 printk("hp100: %s: Warning: lp->page_vaddr_algn not initialised!\n", dev->name);
1158 else { 1158 else {
1159 /* pageptr shall point into the DMA accessible memory region */ 1159 /* pageptr shall point into the DMA accessible memory region */