Re: [PATCH v3] gpio: Fix wrong pointer type in pca953x

From: Grant Likely
Date: Thu Feb 24 2011 - 10:56:20 EST

On Thu, Feb 24, 2011 at 10:20:43AM +0100, Dirk Eibach wrote:
> pca953x_get_alt_pdata() uses uint16_t* as result type for
> of_get_property(), but numeric of values are __be32.
> Checking for negative values is bogus because of-property
> values are unsigned by definition.
> Instead check for proper property size.
> Signed-off-by: Dirk Eibach <eibach@xxxxxxxx>

Applied, thanks.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at