Home
last modified time | relevance | path

Searched hist:a0ebf519 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwtracing/stm/
H A Dcore.ca0ebf519 Fri Nov 18 06:17:31 CST 2016 Johan Hovold <johan@kernel.org> 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>
a0ebf519 Fri Nov 18 06:17:31 CST 2016 Johan Hovold <johan@kernel.org> 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>