diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c index 20e946b1e744d9d0d4f4802969d05e8c640e5b17..b6da4cf3694baf89d988089642a9842c551d1d2f 100644 --- a/drivers/net/ax88796.c +++ b/drivers/net/ax88796.c @@ -864,6 +864,7 @@ static int ax_probe(struct platform_device *pdev) res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); if (res == NULL) { dev_err(&pdev->dev, "no IRQ specified\n"); + ret = -ENXIO; goto exit_mem; }