Re: drm/amdgpu: remove the redundant null check

2019-09-13 Thread Alex Deucher
On Fri, Sep 6, 2019 at 3:01 AM zhong jiang wrote: > > On 2019/9/5 16:38, Markus Elfring wrote: > >>> Were any source code analysis tools involved for finding > >>> these update candidates? > >> With the help of Coccinelle. You can find out some example in > >> scripts/coccinelle/. > > Thanks for

Re: drm/amdgpu: remove the redundant null check

2019-09-06 Thread zhong jiang
On 2019/9/5 16:38, Markus Elfring wrote: >>> Were any source code analysis tools involved for finding >>> these update candidates? >> With the help of Coccinelle. You can find out some example in >> scripts/coccinelle/. > Thanks for such background information. > Was the script “ifnullfree.cocci”

Re: drm/amdgpu: remove the redundant null check

2019-09-06 Thread Markus Elfring
>> Were any source code analysis tools involved for finding >> these update candidates? > With the help of Coccinelle. You can find out some example in > scripts/coccinelle/. Thanks for such background information. Was the script “ifnullfree.cocci” applied here? Will it be helpful to add attribu