]> git.ipfire.org Git - thirdparty/qemu.git/commit
nand: fix address overflow
authorRabin Vincent <rabin.vincent@axis.com>
Tue, 10 Nov 2015 13:25:47 +0000 (14:25 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 18 Nov 2015 14:54:15 +0000 (15:54 +0100)
commita184e74f24f83935c8fc7cd76c06ad0717f89fdb
treef74fc3e1db5d92b6ab97d8fc7c5dc23264b4fe5e
parentab9b872ab3147faf3c04e91d525815b9139dd996
nand: fix address overflow

The shifts of the address mask and value shift beyond 32 bits when there
are 5 address cycles.

Cc: qemu-stable@nongnu.org
Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/nand.c