WARNING: mutexes are preferred for single holder semaphores
Paul Mackerras
paulus at samba.org
Mon May 5 12:13:43 EST 2008
Sean MacLennan writes:
> This is a bit OT, but I got the warning in the subject from
> checkpatch.pl for a piece of code. The code *is* using a mutex. Does it
> actually mean I shouldn't use a mutex?
I don't require zero checkpatch warnings or errors on patches before I
accept them. If what checkpatch is saying is rubbish, just ignore it.
Paul.
More information about the Linuxppc-dev
mailing list