Re: [PATCH] coresight: perf: Add a missing call to etm_free_aux

2016-11-21 Thread Mathieu Poirier
On Sat, Nov 19, 2016 at 06:41:24PM +0100, Quentin Lambert wrote: > 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

Re: [PATCH] coresight: perf: Add a missing call to etm_free_aux

2016-11-19 Thread Quentin Lambert
On 11/19/2016 07:22 PM, Quentin Lambert wrote: On 11/19/2016 06:41 PM, Quentin Lambert wrote: 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

Re: [PATCH] coresight: perf: Add a missing call to etm_free_aux

2016-11-19 Thread Quentin Lambert
On 11/19/2016 06:41 PM, Quentin Lambert wrote: 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 --- driv

[PATCH] coresight: perf: Add a missing call to etm_free_aux

2016-11-19 Thread Quentin Lambert
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 --- drivers/hwtracing/coresight/coresight-etm-perf.c |2