Revert "USB: usbtmc: prevent kernel-usb-infoleak"
This reverts commit d3fd52ffc5
.
This commit is contained in:
parent
24c95b7dbb
commit
bb47ce07e5
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ static struct urb *usbtmc_create_urb(void)
|
||||||
if (!urb)
|
if (!urb)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
dmabuf = kzalloc(bufsize, GFP_KERNEL);
|
dmabuf = kmalloc(bufsize, GFP_KERNEL);
|
||||||
if (!dmabuf) {
|
if (!dmabuf) {
|
||||||
usb_free_urb(urb);
|
usb_free_urb(urb);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue