diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-07-01 02:49:28 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-07-01 03:31:25 -0400 |
| commit | 0a54cec0c25cc49e3b68b14c205f1f6cff13f5e1 (patch) | |
| tree | eb4e63ee9ae1fcaf9aa53a1668e55c09516052d9 /drivers/usb/serial | |
| parent | ec8c27e04f89a7575ca2c4facb99152e03d6a99c (diff) | |
| parent | 980019d74e4b2428362b36a0506519d6d9460800 (diff) | |
Merge branch 'linus' into core/rcu
Conflicts:
fs/fs-writeback.c
Merge reason: Resolve the conflict
Note, i picked the version from Linus's tree, which effectively reverts
the fs-writeback.c bits of:
b97181f: fs: remove all rcu head initializations, except on_stack initializations
As the upstream changes to this file changed this code heavily and the
first attempt to resolve the conflict resulted in a non-booting kernel.
It's safer to re-try this portion of the commit cleanly.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/usb/serial')
| -rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 1 | ||||
| -rw-r--r-- | drivers/usb/serial/ftdi_sio_ids.h | 7 | ||||
| -rw-r--r-- | drivers/usb/serial/qcserial.c | 3 |
3 files changed, 3 insertions, 8 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 79dd1ae195e5..da7e334b0407 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
| @@ -653,7 +653,6 @@ static struct usb_device_id id_table_combined [] = { | |||
| 653 | { USB_DEVICE(EVOLUTION_VID, EVOLUTION_ER1_PID) }, | 653 | { USB_DEVICE(EVOLUTION_VID, EVOLUTION_ER1_PID) }, |
| 654 | { USB_DEVICE(EVOLUTION_VID, EVO_HYBRID_PID) }, | 654 | { USB_DEVICE(EVOLUTION_VID, EVO_HYBRID_PID) }, |
| 655 | { USB_DEVICE(EVOLUTION_VID, EVO_RCM4_PID) }, | 655 | { USB_DEVICE(EVOLUTION_VID, EVO_RCM4_PID) }, |
| 656 | { USB_DEVICE(CONTEC_VID, CONTEC_COM1USBH_PID) }, | ||
| 657 | { USB_DEVICE(FTDI_VID, FTDI_ARTEMIS_PID) }, | 656 | { USB_DEVICE(FTDI_VID, FTDI_ARTEMIS_PID) }, |
| 658 | { USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16_PID) }, | 657 | { USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16_PID) }, |
| 659 | { USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16C_PID) }, | 658 | { USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16C_PID) }, |
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h index 94d86c3febcb..bbc159a1df45 100644 --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h | |||
| @@ -501,13 +501,6 @@ | |||
| 501 | #define CONTEC_COM1USBH_PID 0x8311 /* COM-1(USB)H */ | 501 | #define CONTEC_COM1USBH_PID 0x8311 /* COM-1(USB)H */ |
| 502 | 502 | ||
| 503 | /* | 503 | /* |
| 504 | * Contec products (http://www.contec.com) | ||
| 505 | * Submitted by Daniel Sangorrin | ||
| 506 | */ | ||
| 507 | #define CONTEC_VID 0x06CE /* Vendor ID */ | ||
| 508 | #define CONTEC_COM1USBH_PID 0x8311 /* COM-1(USB)H */ | ||
| 509 | |||
| 510 | /* | ||
| 511 | * Definitions for B&B Electronics products. | 504 | * Definitions for B&B Electronics products. |
| 512 | */ | 505 | */ |
| 513 | #define BANDB_VID 0x0856 /* B&B Electronics Vendor ID */ | 506 | #define BANDB_VID 0x0856 /* B&B Electronics Vendor ID */ |
diff --git a/drivers/usb/serial/qcserial.c b/drivers/usb/serial/qcserial.c index 04bb759536bb..93d72eb8cafc 100644 --- a/drivers/usb/serial/qcserial.c +++ b/drivers/usb/serial/qcserial.c | |||
| @@ -139,6 +139,7 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id) | |||
| 139 | "Could not set interface, error %d\n", | 139 | "Could not set interface, error %d\n", |
| 140 | retval); | 140 | retval); |
| 141 | retval = -ENODEV; | 141 | retval = -ENODEV; |
| 142 | kfree(data); | ||
| 142 | } | 143 | } |
| 143 | return retval; | 144 | return retval; |
| 144 | } | 145 | } |
| @@ -155,6 +156,7 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id) | |||
| 155 | "Could not set interface, error %d\n", | 156 | "Could not set interface, error %d\n", |
| 156 | retval); | 157 | retval); |
| 157 | retval = -ENODEV; | 158 | retval = -ENODEV; |
| 159 | kfree(data); | ||
| 158 | } | 160 | } |
| 159 | return retval; | 161 | return retval; |
| 160 | } | 162 | } |
| @@ -163,6 +165,7 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id) | |||
| 163 | default: | 165 | default: |
| 164 | dev_err(&serial->dev->dev, | 166 | dev_err(&serial->dev->dev, |
| 165 | "unknown number of interfaces: %d\n", nintf); | 167 | "unknown number of interfaces: %d\n", nintf); |
| 168 | kfree(data); | ||
| 166 | return -ENODEV; | 169 | return -ENODEV; |
| 167 | } | 170 | } |
| 168 | 171 | ||
