summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2018-09-20 13:17:36 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-25 20:09:16 +0200
commitfac253e52fda73b6610f39716abe04dd2d919fb8 (patch)
treeed75d965e43a8633062e871528f910e765b5600d /tools/perf/scripts/python/netdev-times.py
parentb31bd669b45dca9c42d9dbd7eb1a4b02fa8f5323 (diff)
downloadcachepc-linux-fac253e52fda73b6610f39716abe04dd2d919fb8.tar.gz
cachepc-linux-fac253e52fda73b6610f39716abe04dd2d919fb8.zip
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 <mathieu.poirier@linaro.org> Cc: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions