mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
USB: usblp: Use correct DMA address in case of probe error
Looks like the error path had a copy-paste error. The normal exit path uses correct URB already. Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b268f484f9
commit
bdc4abdd09
@ -1003,7 +1003,7 @@ abort:
|
||||
usblp->writebuf, usblp->writeurb->transfer_dma);
|
||||
if (usblp->readbuf)
|
||||
usb_buffer_free (usblp->dev, USBLP_BUF_SIZE,
|
||||
usblp->readbuf, usblp->writeurb->transfer_dma);
|
||||
usblp->readbuf, usblp->readurb->transfer_dma);
|
||||
kfree(usblp->statusbuf);
|
||||
kfree(usblp->device_id_string);
|
||||
usb_free_urb(usblp->writeurb);
|
||||
|
Loading…
Reference in New Issue
Block a user