Re: [v6] coccinelle: semantic code search for missing put_device()
From: Markus Elfring
Date: Tue Feb 19 2019 - 03:12:57 EST
>> 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