15 Mar, 2011

1 commit

  • This patch was generated by the following semantic patch:
    //
    @@ expression E; @@
    - if (E != NULL) { kfree(E); }
    + kfree(E);

    @@ expression E; @@
    - if (E != NULL) { kfree(E); E = NULL; }
    + kfree(E);
    + E = NULL;
    //

    Signed-off-by: Ilia Mirkin
    Signed-off-by: Greg Kroah-Hartman

    Ilia Mirkin
     

08 Mar, 2011

3 commits


01 Mar, 2011

1 commit


22 Jan, 2011

4 commits


08 Dec, 2010

1 commit


30 Nov, 2010

2 commits


17 Nov, 2010

3 commits

  • Move the mid-layer's ->queuecommand() invocation from being locked
    with the host lock to being unlocked to facilitate speeding up the
    critical path for drivers who don't need this lock taken anyway.

    The patch below presents a simple SCSI host lock push-down as an
    equivalent transformation. No locking or other behavior should change
    with this patch. All existing bugs and locking orders are preserved.

    Additionally, add one parameter to queuecommand,
    struct Scsi_Host *
    and remove one parameter from queuecommand,
    void (*done)(struct scsi_cmnd *)

    Scsi_Host* is a convenient pointer that most host drivers need anyway,
    and 'done' is redundant to struct scsi_cmnd->scsi_done.

    Minimal code disturbance was attempted with this change. Most drivers
    needed only two one-line modifications for their host lock push-down.

    Signed-off-by: Jeff Garzik
    Acked-by: James Bottomley
    Signed-off-by: Linus Torvalds

    Jeff Garzik
     
  • Signed-off-by: Joe Perches
    Signed-off-by: Greg Kroah-Hartman

    Joe Perches
     
  • This was necessary in order to resolve some conflicts that happened
    between -rc1 and -rc2 with the following files:
    drivers/staging/bcm/Bcmchar.c
    drivers/staging/intel_sst/intel_sst_app_interface.c

    All should be resolved now.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

11 Nov, 2010

1 commit


10 Nov, 2010

1 commit


29 Oct, 2010

1 commit


08 Oct, 2010

1 commit


06 Oct, 2010

1 commit


30 Sep, 2010

2 commits


22 Sep, 2010

1 commit


21 Sep, 2010

1 commit


17 Sep, 2010

3 commits

  • keucr lost the disconnect,
    so keucr crash when plug-in and then plug-out SD-card quickly.

    unmark the part of usb disconnect

    Signed-off-by: Al Cho
    Signed-off-by: Greg Kroah-Hartman

    Al Cho
     
  • keucr driver has a build error when CONFIG_PM is not enabled, so fix that.

    drivers/staging/keucr/usb.c:42: error: 'struct us_data' has no member named 'suspend_resume_hook'
    drivers/staging/keucr/usb.c:43: error: 'struct us_data' has no member named 'suspend_resume_hook'
    drivers/staging/keucr/usb.c:64: error: 'struct us_data' has no member named 'suspend_resume_hook'
    drivers/staging/keucr/usb.c:65: error: 'struct us_data' has no member named 'suspend_resume_hook'

    Signed-off-by: Randy Dunlap
    Cc: Al Cho
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     
  • Update keucr TODO with additional work items.

    Signed-off-by: Randy Dunlap
    Cc: Al Cho
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     

08 Sep, 2010

2 commits