Re: patch driver-core-warn-about-duplicate-driver-names-on-the-same-bus.patch added to gregkh-2.6 tree

Greg KH
2008-04-29T05:00:47Z

On Tue, Apr 29, 2008 at 08:48:08AM +0400, Stas Sergeev wrote:
> Hello.
>
> gregkh@suse.de wrote:
> > This is a note to let you know that I've just added the patch titled
> > Subject: driver core: warn about duplicate driver names on the same bus
> > to my gregkh-2.6 tree. Its filename is
> Thanks.
>
> Takashi, do you think this fixes the
> pcspkr/snd-pcsp conflict sufficienly
> well? I think the Kconfig protection
> is no longer needed. For the better
> convinience the modprobe rule can be
> created that will remove one driver
> before inserting another. But this is
> optional.

No, don't rely on the driver core warning and catching code errors like
this, that's not a good idea at all. I like the warning and your patch,
but don't assume it's always going to be there.

thanks,

greg k-h