summaryrefslogtreecommitdiffstats
path: root/Documentation/trace/stm.txt
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2016-11-18 13:17:31 +0100
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-11-18 15:54:39 +0100
commita0ebf519b8a2666438d999c62995618c710573e5 (patch)
tree40ea96d5814491ac0f0e784c75bc69b24ecabf7d /Documentation/trace/stm.txt
parentLinux 4.9-rc5 (diff)
downloadlinux-a0ebf519b8a2666438d999c62995618c710573e5.tar.xz
linux-a0ebf519b8a2666438d999c62995618c710573e5.zip
stm class: Fix device leak in open error path
Make sure to drop the reference taken by class_find_device() also on allocation errors in open(). Signed-off-by: Johan Hovold <johan@kernel.org> Fixes: 7bd1d4093c2f ("stm class: Introduce an abstraction for...") Cc: stable@vger.kernel.org # v4.6+ Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Diffstat (limited to 'Documentation/trace/stm.txt')
0 files changed, 0 insertions, 0 deletions