ppc/e500_pci: Fix an array overflow issue
authorLiu Yu-B13201 <Yu.Liu@freescale.com>
Thu, 29 Sep 2011 17:52:50 +0000 (17:52 +0000)
committerAlexander Graf <agraf@suse.de>
Sun, 30 Oct 2011 16:11:53 +0000 (17:11 +0100)
commiteeae2e7b52255dae0976a027b6e11274990c708d
tree517a7e3c5d762558ba8f8c4da17df9b4cabd8d06
parent6875dc8ea4f9e14f33c217c3596af51c60cfd1b5
ppc/e500_pci: Fix an array overflow issue

When access PPCE500_PCI_IW1 the previous index get overflow.
The patch fix the issue and update all to keep consistent style.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppce500_pci.c