]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: perf: Add a missing call to etm_free_aux
authorQuentin Lambert <lambert.quentin@gmail.com>
Tue, 29 Nov 2016 16:47:19 +0000 (09:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 19:05:32 +0000 (20:05 +0100)
commit02a1515eb542007ca52e50a76b73750034a5f5d9
treefd092811061e33818c9a949e89765c377798bdad
parentf500d149e4407a1a621274d6ce8633f4d23e6692
coresight: perf: Add a missing call to etm_free_aux

Most error branches following the call to alloc_event_data contain a call
to etm_free_aux. This patch add a call to etm_free_aux to an error branch
that does not call it.

This issue was found with Hector.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm-perf.c