[U-Boot] spmi: Fix sandbox spmi driver memory corruption
Tom Rini
trini at konsulko.com
Tue Apr 12 04:29:37 CEST 2016
On Mon, Apr 04, 2016 at 07:55:58PM +0200, Mateusz Kulikowski wrote:
> There is off-by-one error in sandbox_emul_gpio that causes
> segfault of certain tests.
>
> EMUL_GPIO_REG_END is the address of last valid (emulated) register.
> This patch fixed this (by adding one more element to emulated register array).
>
> Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski at gmail.com>
> Tested-by: Stephen Warren <swarren at nvidia.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160411/550561e8/attachment.sig>
More information about the U-Boot
mailing list