Re: syslog loves the new driver core code

From: Patrick Mochel (mochel_at_digitalimplant.org)
Date: 03/31/05

  • Next message: James Bottomley: "Re: [PATCH scsi-misc-2.6 08/13] scsi: move request preps in other places into prep_fn()"
    Date:	Thu, 31 Mar 2005 10:04:55 -0800 (PST)
    To: Greg KH <gregkh@suse.de>
    
    

    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: James Bottomley: "Re: [PATCH scsi-misc-2.6 08/13] scsi: move request preps in other places into prep_fn()"

    Relevant Pages

    • Re: SysFS, module names and .name
      ... Greg KH wrote: ... I would know which driver name corresponds to ... > changing every single pci driver to enable it. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: small patch: enable pwc usb camera driver
      ... > Greg KH wrote: ... Ick ick ick! ... time to mark the driver broken again... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 2/4] Driver core: add driver_probe_device
      ... I really like the "driver" part in the device. ... (will be a few hours, have real work to do for a bit, sorry...) ... greg k-h ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [linux-usb-devel] Re: Finding user/kernel pointer bugs [no html]
      ... Greg KH wrote: ... the driver you just refered to does not use the video_usercopy ... However, apart from the "__user" context, there are several drivers ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 2/4] Driver core: add driver_probe_device
      ... On Friday 29 October 2004 11:37 am, Greg KH wrote: ... What about "bind_mode" device and driver attributes? ... then I need to check these attributes in serio's bus match function, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)