1 From: Greg Kroah-Hartman <gregkh@suse.de>
2 Subject: Linux 2.6.27.38
4 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
6 diff --git a/Makefile b/Makefile
7 index e063536..3be1470 100644
16 NAME = Trembling Tortoise
19 diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
20 index ee6be59..5f76f55 100644
21 --- a/drivers/scsi/scsi.c
22 +++ b/drivers/scsi/scsi.c
23 @@ -243,10 +243,7 @@ scsi_host_alloc_command(struct Scsi_Host *shost, gfp_t gfp_mask)
25 struct scsi_cmnd *__scsi_get_command(struct Scsi_Host *shost, gfp_t gfp_mask)
27 - struct scsi_cmnd *cmd;
30 - cmd = scsi_host_alloc_command(shost, gfp_mask);
31 + struct scsi_cmnd *cmd = scsi_host_alloc_command(shost, gfp_mask);
35 @@ -260,9 +257,15 @@ struct scsi_cmnd *__scsi_get_command(struct Scsi_Host *shost, gfp_t gfp_mask)
36 spin_unlock_irqrestore(&shost->free_list_lock, flags);
41 buf = cmd->sense_buffer;
42 + prot = cmd->prot_sdb;
44 memset(cmd, 0, sizeof(*cmd));
46 cmd->sense_buffer = buf;
47 + cmd->prot_sdb = prot;
51 diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c
52 index 240aad1..657fc25 100644
53 --- a/drivers/usb/serial/digi_acceleport.c
54 +++ b/drivers/usb/serial/digi_acceleport.c
55 @@ -892,16 +892,16 @@ static void digi_rx_unthrottle(struct tty_struct *tty)
57 spin_lock_irqsave(&priv->dp_port_lock, flags);
59 - /* turn throttle off */
60 - priv->dp_throttled = 0;
61 - priv->dp_throttle_restart = 0;
63 /* restart read chain */
64 if (priv->dp_throttle_restart) {
65 port->read_urb->dev = port->serial->dev;
66 ret = usb_submit_urb(port->read_urb, GFP_ATOMIC);
69 + /* turn throttle off */
70 + priv->dp_throttled = 0;
71 + priv->dp_throttle_restart = 0;
73 spin_unlock_irqrestore(&priv->dp_port_lock, flags);
76 diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
77 index 9fcc272..579796a 100644
78 --- a/drivers/usb/serial/usb-serial.c
79 +++ b/drivers/usb/serial/usb-serial.c
80 @@ -973,6 +973,7 @@ int usb_serial_probe(struct usb_interface *interface,
82 /* quietly accept this device, but don't bind to a
83 serial port as it's about to disappear */
84 + serial->num_ports = 0;