Re: [PATCH] Staging: quatech_usb2: Convert eos semaphore to mutex

From: Alessio Igor Bogani
Date: Sat May 15 2010 - 18:09:07 EST


Hi Oliver,

2010/5/15 Oliver Neukum <oliver@xxxxxxxxxx>:
> Am Samstag, 15. Mai 2010 23:40:02 schrieb Alessio Igor Bogani:
>> The eos semaphore is used as a mutex so replace it with a real mutex.
>
> Documentation/mutex-design.txt states that a mutex must not be used
> from within an interrupt handler. Is this outdated?

You are right. Simply I didn't see irqreturn_t return type in function
prototype.

Sorry for my mistake.

Ciao,
Alessio
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/