[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160426.011130.579576502644948065.davem@davemloft.net>
Date: Tue, 26 Apr 2016 01:11:30 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: Julia.Lawall@...6.fr
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: tsi108: use NULL for pointer-typed argument
From: Julia Lawall <Julia.Lawall@...6.fr>
Date: Sat, 23 Apr 2016 11:07:02 +0200
> The first argument of pci_free_consistent has type struct pci_dev *, so use
> NULL instead of 0.
>
> The semantic patch that performs this transformation is as follows:
> (http://coccinelle.lip6.fr/)
>
> // <smpl>
> @@
> @@
> pci_free_consistent(
> - 0
> + NULL
> , ...)
> // </smpl>
>
> Signed-off-by: Julia Lawall <Julia.Lawall@...6.fr>
Applied.
Powered by blists - more mailing lists