Re: syslog loves the new driver core code

From: Patrick Mochel
Date: Thu Mar 31 2005 - 13:08:35 EST



On Thu, 31 Mar 2005, Greg KH wrote:

> Andrew pointed out to me that the new driver core code spewes a lot of
> stuff in the syslog for every device it tries to match up with a driver
> (if you look closely, it seems that the if check in __device_attach()
> will never not trigger...)
>
> Everything still seems to work properly, but it's good if we don't alarm
> people with messages that are incorrect and unneeded. :)
>
> So, here's a patch that seems to work for me. It stops trying to loop
> through drivers or devices once it finds a match, and it only tells the
> syslog when we have a real error.
>
> Look acceptable to you?

Yes. Sorry about that.


Pat
-
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/