Re: [PATCH] fix ifnullfree.cocci warnings

2018-08-14 Thread Julia Lawall
On Tue, 14 Aug 2018, Mark Brown wrote: > On Tue, Aug 14, 2018 at 12:57:57PM +0200, Julia Lawall wrote: > > From: kbuild test robot > > > > NULL check before some freeing functions is not needed. > > > > Based on checkpatch warning > > "kfree(NULL) is safe this check is probably not required

Re: [PATCH] fix ifnullfree.cocci warnings

2018-08-14 Thread Mark Brown
On Tue, Aug 14, 2018 at 12:57:57PM +0200, Julia Lawall wrote: > From: kbuild test robot > > NULL check before some freeing functions is not needed. > > Based on checkpatch warning > "kfree(NULL) is safe this check is probably not required" > and kfreeaddr.cocci by Julia Lawall. > > Generate

[PATCH] fix ifnullfree.cocci warnings

2018-08-14 Thread Julia Lawall
From: kbuild test robot NULL check before some freeing functions is not needed. Based on checkpatch warning "kfree(NULL) is safe this check is probably not required" and kfreeaddr.cocci by Julia Lawall. Generated by: scripts/coccinelle/free/ifnullfree.cocci Fixes: 0099cc17a399 ("ASoC:topol