diff options
author | Greg Kroah-Hartman <[email protected]> | 2016-09-28 11:48:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-09-28 11:51:30 +0200 |
commit | ab21b63e8aedfc73565dd9cdd51eb338341177cb (patch) | |
tree | 917a36b41513989feabea08e27f1f5f54d46266e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | decc5360f23e9efe0252094f47f57f254dcbb3a9 (diff) |
Revert "usbtmc: convert to devm_kzalloc"
This reverts commit e6c7efdcb76f11b04e3d3f71c8d764ab75c9423b.
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]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions