At Thu, 7 Nov 2013 11:17:49 +0300,
Dan Carpenter wrote:
>
> pnp_irq() returns -1 on error but cast to an unsigned. It is confusing
> for callers who assume that it returns a negative value. I have
> introduced a new define IORESOURCE_INVALID which is the same value but
> hopefully it looks less
pnp_irq() returns -1 on error but cast to an unsigned. It is confusing
for callers who assume that it returns a negative value. I have
introduced a new define IORESOURCE_INVALID which is the same value but
hopefully it looks less like a negative value.
Signed-off-by: Dan Carpenter
diff --git a
2 matches
Mail list logo