[alsa-devel] [PATCH] fix ifnullfree.cocci warnings
Mark Brown
broonie at kernel.org
Tue Aug 14 16:03:44 CEST 2018
On Tue, Aug 14, 2018 at 12:57:57PM +0200, Julia Lawall wrote:
> From: kbuild test robot <fengguang.wu at intel.com>
>
> 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:topology:avoid error log and oops during topology free.")
This doesn't apply against current code, please check and resend (the
above commit isn't in my tree:
$ git show 0099cc17a399
fatal: ambiguous argument '0099cc17a399': unknown revision or path not in the working tree.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180814/62b6012d/attachment.sig>
More information about the Alsa-devel
mailing list