Re: [v4] coccinelle: semantic patch for missing put_device()

From: Markus Elfring
Date: Fri Feb 15 2019 - 02:50:56 EST


>> So I plan to modify the following to capture both cases:
>> -local idexpression id;
>> +expression id;
>
> I'm not sure that this is a good idea.

Why have you got doubts here?


> There is likely no need for a put in the latter case.

I have got understanding difficulties for such information.
What did you try to express with this sentence finally?

Regards,
Markus