Re: [PATCH] stm class: Add a missing call to put_device

2016-11-21 Thread Quentin Lambert
On 11/21/2016 08:32 AM, Alexander Shishkin wrote: Quentin Lambert writes: Most error branches following the call to class_find_device contain a call to put_device. This patch add calls to put_device where they are missing. This issue was found with Hector. Signed-off-by: Quentin Lambert

Re: [PATCH] stm class: Add a missing call to put_device

2016-11-20 Thread Alexander Shishkin
Quentin Lambert writes: > Most error branches following the call to class_find_device contain > a call to put_device. This patch add calls to put_device where > they are missing. > > This issue was found with Hector. > > Signed-off-by: Quentin Lambert > > --- > drivers/hwtracing/stm/core.c |

[PATCH] stm class: Add a missing call to put_device

2016-11-19 Thread Quentin Lambert
Most error branches following the call to class_find_device contain a call to put_device. This patch add calls to put_device where they are missing. This issue was found with Hector. Signed-off-by: Quentin Lambert --- drivers/hwtracing/stm/core.c |4 +++- 1 file changed, 3 insertions(+), 1