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)
|
||||
return NULL;
|
||||
|
||||
dmabuf = kzalloc(bufsize, GFP_KERNEL);
|
||||
dmabuf = kmalloc(bufsize, GFP_KERNEL);
|
||||
if (!dmabuf) {
|
||||
usb_free_urb(urb);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue