lkml.org 
[lkml]   [2020]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Input: stmfts: fix ref count leak in stmfts_input_open
From
Date
> in stmfts_input_open, …

* Can the term “reference count” become relevant also for this commit message
besides other possible adjustments?

* Would you like to add the tag “Fixes”?



> +++ b/drivers/input/touchscreen/stmfts.c

> @@ -367,6 +367,9 @@ static int stmfts_input_open(struct input_dev *dev)
> }
>
> return 0;
> +out:
> + pm_runtime_put(&sdata->client->dev);
> + return err;
> }


Perhaps use the label “put_runtime” instead?

Regards,
Markus

\
 
 \ /
  Last update: 2020-06-14 11:35    [W:0.036 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site