mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 21:04:42 -04: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:
committed by
Greg Kroah-Hartman
parent
b268f484f9
commit
bdc4abdd09
@@ -1003,7 +1003,7 @@ static int usblp_probe(struct usb_interface *intf,
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user