Files
linux/drivers/usb/class
Greg Kroah-Hartman ab21b63e8a Revert "usbtmc: convert to devm_kzalloc"
This reverts commit e6c7efdcb7.

Turns out it was totally wrong.  The memory is supposed to be bound to
the kref, as the original code was doing correctly, not the
device/driver binding as the devm_kzalloc() would cause.

This fixes an oops when read would be called after the device was
unbound from the driver.

Reported-by: Ladislav Michl <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: stable <[email protected]>  # 3.12+
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2016-09-28 11:51:30 +02:00
..
2016-09-09 14:13:24 +02:00
…