Re: [PATCH 7/7] driver-core : convert semaphore to mutex in structclass

From: Greg KH
Date: Thu Jan 17 2008 - 16:16:26 EST


On Thu, Jan 17, 2008 at 02:57:36PM -0500, Alan Stern wrote:
> On Thu, 17 Jan 2008, Jarek Poplawski wrote:
> > On the other hand, according to Greg the code is OK, so if there are any
> > such warnings they simply have to be false! (...Unless you trust lockdep
> > more?!)
>
> It's not a matter of trust or of false warnings. People shouldn't
> tolerate any lockdep warnings at all; otherwise they will start to
> ignore the valid ones.
>
> Alan Stern
>
> P.S.: Just because Greg says the code is okay doesn't mean it will
> please lockdep -- it doesn't even mean the code really is okay! I've
> known Greg to make an occasional mistake.

I've known Greg to make lots of mistakes :)

I don't remember ever saying that the "code is correct with the lockdep
warnings", I think I said, "Make sure there are no lockdep warnings with
any conversion you do."

thanks,

greg k-h
--
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/