Re: [v6] coccinelle: semantic code search for missing put_device()

Markus Elfring
2019-02-19T08:12:11Z

>> Although we have tested these two methods in the existing kernel code,
>> considering the evolution of the kernel code, these special cases may occur, so we are willing to take them into account.
>> We plan to modify the code like this:
>>
>> id = of_find_device_by_node@p1(x)
>> -... when != e = id
>> +... when != e = (T)id
>> + when != id = (T)e
>
> This change is fine with me.

Thanks for another positive feedback on such software implementation details.

Regards,
Markus