[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110224155611.GA17735@angua.secretlab.ca>
Date: Thu, 24 Feb 2011 08:56:11 -0700
From: Grant Likely <grant.likely@...retlab.ca>
To: Dirk Eibach <eibach@...ys.de>
Cc: linux-kernel@...r.kernel.org, error27@...il.com
Subject: Re: [PATCH v3] gpio: Fix wrong pointer type in pca953x
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@...ys.de>
Applied, thanks.
g.
--
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