]> git.karo-electronics.de Git - linux-beck.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)
commitec98960e0bbbe49b569b09c14ccd82efeb232dc8
treefd092811061e33818c9a949e89765c377798bdad
parentbcb5b815de0cc2d95eacd7cf1eec78ebd7ba4282
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