Ok, but in that case the original code is still wrong because it returns
early with success.  I guess it could be changed to:

        if (irq <= 0)
                return -ENXIO;

regards,
dan carpenter

Reply via email to