[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140402182747.GC14763@sirena.org.uk>
Date: Wed, 2 Apr 2014 19:27:47 +0100
From: Mark Brown <broonie@...nel.org>
To: Xiubo Li <Li.Xiubo@...escale.com>
Cc: gregkh@...uxfoundation.org, linux@...ck-us.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH resend] regmap: mmio: Fix the bug of 'offset' value
parsing.
On Wed, Apr 02, 2014 at 10:20:17AM +0800, Xiubo Li wrote:
> 'offset = *(u32 *)reg;'
> This will be okey for 32/64-bits register device, but for 8/16-bits
> register ones, the 'offset' value will overflow, for example:
Applied, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists