linux-stable/drivers/hwtracing/coresight
Mathieu Poirier fae5415879 coresight: coresight_unregister() function cleanup
In its current form the code never frees csdev->refcnt allocated
in coresight_register().  There is also a problem with csdev->conns
that is freed before device_unregister() rather than in the device
release function.

This patch addresses both issues by moving kfree(csdev->conns) to
coresight_device_release() and freeing csdev->refcnt, also in
the same function.

Reported-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-07 22:11:10 -08:00
..
coresight-etb10.c coresight: etb: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight-etm-cp14.c
coresight-etm.h coresight-etm3x: Support context-ID tracing when PID namespace is enabled 2015-08-05 13:30:15 -07:00
coresight-etm3x.c coresight: etm3x: making error message unambiguous 2015-10-07 17:54:09 +01:00
coresight-etm4x.c Coresight: ETMv4: Prevent TRCRSCTLR0&1 from being accessed 2015-10-07 17:54:09 +01:00
coresight-etm4x.h coresight-etm4x: Support context-ID tracing when PID namespace is enabled 2015-08-05 13:30:15 -07:00
coresight-funnel.c coresight: funnel: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight-priv.h
coresight-replicator-qcom.c drivers/hwtracing: fix coresight-replicator-qcom implicit <module.h> usage 2015-06-08 13:46:43 -07:00
coresight-replicator.c coresight: replicator: Use builtin_platform_driver() 2015-08-05 13:30:15 -07:00
coresight-tmc.c coresight: tmc: let runtime PM handle core clock 2015-05-24 11:12:08 -07:00
coresight-tpiu.c coresight: tpiu: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight.c coresight: coresight_unregister() function cleanup 2016-02-07 22:11:10 -08:00
Kconfig coresight: Fix a typo in Kconfig 2015-12-21 13:31:31 -08:00
Makefile coresight: replicator: Add Qualcomm CoreSight Replicator driver 2015-05-24 11:12:08 -07:00
of_coresight.c coresight: fix typo in of_coresight.c 2015-05-24 11:12:08 -07:00