Re: [PATCH 1/1] net-PA Semi: Deletion of unnecessary checks before the function call "pci_dev_put"

Lino Sanfilippo
2014-11-30T19:27:22Z

On 30.11.2014 18:47, Julia Lawall wrote:

>
> I have heard of at least one case where the problem you are raising
> happened in practice...
>
> julia

If one case is known then there are probably a lot more that have not
been discovered yet.
Maybe this topic should be clarified somewhere (e.g. in "CodingStyle")?
On the other hand i always found it obvious that its the callers
responsibility to only pass sane parameters to the called functions...

Regards,
Lino