diff options
Diffstat (limited to 'drivers/usb/atm/usbatm.c')
-rw-r--r-- | drivers/usb/atm/usbatm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index a076f735a7bc..d287c5755229 100644 --- a/drivers/usb/atm/usbatm.c +++ b/drivers/usb/atm/usbatm.c | |||
@@ -484,7 +484,7 @@ static unsigned int usbatm_write_cells(struct usbatm_data *instance, | |||
484 | ptr[4] = 0xec; | 484 | ptr[4] = 0xec; |
485 | ptr += ATM_CELL_HEADER; | 485 | ptr += ATM_CELL_HEADER; |
486 | 486 | ||
487 | memcpy(ptr, skb->data, data_len); | 487 | skb_copy_from_linear_data(skb, ptr, data_len); |
488 | ptr += data_len; | 488 | ptr += data_len; |
489 | __skb_pull(skb, data_len); | 489 | __skb_pull(skb, data_len); |
490 | 490 | ||