linux/drivers/hwtracing
Johan Hovold a0ebf519b8 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: 7bd1d4093c ("stm class: Introduce an abstraction for...")
Cc: stable@vger.kernel.org # v4.6+
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
2016-11-18 16:54:39 +02:00
..
coresight coresight: tmc: mark symbols static where possible 2016-09-09 13:53:00 +02:00
intel_th intel_th: Fixes -stable 2016-07-15 14:19:11 +09:00
stm stm class: Fix device leak in open error path 2016-11-18 16:54:39 +02:00