Re: [PATCH] net: ethernet: tundra: Correct argument for pci_free_consistent

From: David Miller
Date: Wed Jun 29 2016 - 04:10:34 EST


From: Amitoj Kaur Chawla <amitoj1606@xxxxxxxxx>
Date: Mon, 27 Jun 2016 14:34:50 +0530

> pci_free_consistent's argument 'struct pci_dev' should be NULL not 0.
>
> The Coccinelle semantic patch used to make this change is as follows:
> @@
> @@
>
> pci_free_consistent(
> - 0
> + NULL
> , ...)
>
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@xxxxxxxxx>

This patch doesn't apply.