Re: [PATCH] More Driver Core patches for 2.6.10-rc1

From: Greg KH (greg_at_kroah.com)
Date: 11/05/04

  • Next message: Serge E. Hallyn: "Re: [RFC] [PATCH] [6/6] LSM Stacking: temporary setprocattr hack"
    Date:	Thu, 4 Nov 2004 16:48:25 -0800
    To: linux-kernel@vger.kernel.org
    
    

    ChangeSet 1.2449.2.4, 2004/11/04 10:28:20-08:00, tj@home-tj.org

    [PATCH] driver-model: comment fix in bus.c

     df_01_driver_attach_comment_fix.patch

    bus_match() was renamed to driver_probe_device() but the comment for
    device_attach() wasn't updated. This patch updates it.

    Signed-off-by: Tejun Heo <tj@home-tj.org>
    Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

     drivers/base/bus.c | 8 ++++----
     1 files changed, 4 insertions(+), 4 deletions(-)

    diff -Nru a/drivers/base/bus.c b/drivers/base/bus.c
    --- a/drivers/base/bus.c 2004-11-04 16:30:54 -08:00
    +++ b/drivers/base/bus.c 2004-11-04 16:30:54 -08:00
    @@ -325,10 +325,10 @@
      * driver_attach - try to bind driver to devices.
      * @drv: driver.
      *
    - * Walk the list of devices that the bus has on it and try to match
    - * the driver with each one.
    - * If bus_match() returns 0 and the @dev->driver is set, we've found
    - * a compatible pair.
    + * Walk the list of devices that the bus has on it and try to
    + * match the driver with each one. If driver_probe_device()
    + * returns 0 and the @dev->driver is set, we've found a
    + * compatible pair.
      *
      * Note that we ignore the -ENODEV error from driver_probe_device(),
      * since it's perfectly valid for a driver not to bind to any devices.

    -
    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: Serge E. Hallyn: "Re: [RFC] [PATCH] [6/6] LSM Stacking: temporary setprocattr hack"

    Relevant Pages

    • Re: [PATCH 2/3] Xilinx: hwicap: Verify sync before reading idcode.
      ... This patch updates the code to check the status of ... the device before reading the IDCODE, in order to avoid entering this ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: XFS breakage in 2.6.18-rc1
      ... system disk too who had to take the hit. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: How to run an a.out file in a kernel module
      ... called in a kernel module using call_usermodehelper ... Please read the FAQ at http://www.tux.org/lkml/ ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: XFS Bug null pointer dereference in xfs_free_ag_extent
      ... I also filed bug 6877 at kernel.org ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [patch] remove unused acct variables from task_struct
      ... struct mempolicy *mempolicy; ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)