[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <547B6F9A.8030806@gmx.de>
Date: Sun, 30 Nov 2014 20:27:22 +0100
From: Lino Sanfilippo <LinoSanfilippo@....de>
To: Julia Lawall <julia.lawall@...6.fr>
CC: SF Markus Elfring <elfring@...rs.sourceforge.net>,
Olof Johansson <olof@...om.net>, netdev@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 1/1] net-PA Semi: Deletion of unnecessary checks before
the function call "pci_dev_put"
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists