Messages in this thread | | | Subject | Re: [PATCH] Input: stmfts: fix ref count leak in stmfts_input_open | From | Markus Elfring <> | Date | Sun, 14 Jun 2020 11:33:34 +0200 |
| |
> 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
| |