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)
commit2b0770acc0bea6a38ff94516bfd8865e71aa10a1
tree517a7e3c5d762558ba8f8c4da17df9b4cabd8d06
parent0573b1950439cb944c660340e0eb22f33a7c76be
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