summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-03-04 16:36:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-03 06:23:24 +0200
commit2040e80d8095e6aff0743944011cbaf94252ecc0 (patch)
tree35f5c9f7843afacf8a89d950f7df4fc6736bc513 /tools/perf/scripts/python
parentfbfaa26fa9e77f4b8b141f650340195f23cd7029 (diff)
stm class: Do not leak the chrdev in error path
[ Upstream commit cbe4a61d1ddc4790d950ca8c33ef79ee68ef5e2b ] Currently, the error path of stm_register_device() forgets to unregister the chrdev. Fix this. Reported-by: Alan Cox <alan.cox@intel.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Laurent Fert <laurent.fert@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions