[U-Boot] [PATCH] tegra: gpio: fix null label regression

Marcel Ziswiler marcel at ziswiler.com
Sat Oct 11 00:44:30 CEST 2014


Hi Simon

On Fri, 2014-10-10 at 16:22 -0600, Simon Glass wrote:
> Well you fixed that bug. Are there any others?

Well, not in any of our boards but a short grep through the sources
reveals dozens of places where GPIOs are still reserved with NULL
labels. Happy crashing and subsequent bisecting for all them folks I
guess.

> Checking for obviously
> invalid args is not typically done due to the code overhead (e.g try
> to use assert() which is compiled out in production code).

Agreed but rather sad if the semantics certainly changes.

Anyway, I give in. Let's just drop it then.



More information about the U-Boot mailing list