From: Mark Brown Date: Thu, 7 Jan 2010 08:53:05 +0000 (-0800) Subject: cs89x0: Always report failure to request interrupt X-Git-Tag: v2.6.33-rc4~10^2~21 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=569b7892fe09dd6502bdadb7cf5e7acce907c1a1;p=~emulex%2Finfiniband.git cs89x0: Always report failure to request interrupt A failure on request_irq() is always fatal but unlike other fatal errors it's only reported to the user if net_debug is set. Make the diagnostic unconditional and raise the priority so that errors are more obvious to the user. Signed-off-by: Mark Brown Signed-off-by: David S. Miller --- diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c index af9321617ce..0e79cef95c0 100644 --- a/drivers/net/cs89x0.c +++ b/drivers/net/cs89x0.c @@ -1325,8 +1325,7 @@ net_open(struct net_device *dev) write_irq(dev, lp->chip_type, dev->irq); ret = request_irq(dev->irq, net_interrupt, 0, dev->name, dev); if (ret) { - if (net_debug) - printk(KERN_DEBUG "cs89x0: request_irq(%d) failed\n", dev->irq); + printk(KERN_ERR "cs89x0: request_irq(%d) failed\n", dev->irq); goto bad_out; } }