diff options
| author | Suzuki K Poulose <[email protected]> | 2018-09-20 13:17:36 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-25 20:09:16 +0200 |
| commit | fac253e52fda73b6610f39716abe04dd2d919fb8 (patch) | |
| tree | ed75d965e43a8633062e871528f910e765b5600d /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | b31bd669b45dca9c42d9dbd7eb1a4b02fa8f5323 (diff) | |
coresight: Document error handling in coresight_register
commit 6403587a930c ("coresight: use put_device() instead of kfree()")
fixes the double freeing of resources and ensures that the device
refcount is dropped properly. Add a comment to explain this to
help the readers and prevent people trying to "unfix" it again.
While at it, rename the labels for better readability.
Cc: Mathieu Poirier <[email protected]>
Cc: Arvind Yadav <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions