aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cassini.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-01-24 05:06:46 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:07:12 -0500
commit79ea13ce07c951bb4d95471e7300baa0f1be9e78 (patch)
treec0ea320464201854c5d3a222e2dd0d10ae22c95f /drivers/net/cassini.c
parent3e18826c73735eee5fca92584137824d9a387008 (diff)
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>
Diffstat (limited to 'drivers/net/cassini.c')
-rw-r--r--drivers/net/cassini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c
index 2bacb5e4604d..14299f8063af 100644
--- a/drivers/net/cassini.c
+++ b/drivers/net/cassini.c
@@ -5085,7 +5085,7 @@ static int __devinit cas_init_one(struct pci_dev *pdev,
5085 5085
5086 /* give us access to cassini registers */ 5086 /* give us access to cassini registers */
5087 cp->regs = pci_iomap(pdev, 0, casreg_len); 5087 cp->regs = pci_iomap(pdev, 0, casreg_len);
5088 if (cp->regs == 0UL) { 5088 if (!cp->regs) {
5089 dev_err(&pdev->dev, "Cannot map device registers, aborting.\n"); 5089 dev_err(&pdev->dev, "Cannot map device registers, aborting.\n");
5090 goto err_out_free_res; 5090 goto err_out_free_res;
5091 } 5091 }