MIPS: TXx9: Fix quirk_slc90e66_ide
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sat, 28 Jun 2014 14:56:00 +0000 (23:56 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 13:57:08 +0000 (15:57 +0200)
commitad6f9022da088e5ec219ca0bbe267feb046a57a2
tree33759763e05fc54e25b75a22493bfad1702a0374
parentb625cd4aa417b979e59359a8ca020cad8e032df1
MIPS: TXx9: Fix quirk_slc90e66_ide

Fix wrong code spotted by -Werror=array-bounds:
arch/mips/txx9/generic/pci.c:334:23: error: array subscript is above array bounds [-Werror=array-bounds]
  pci_write_config_byte(dev, regs[i], dat);

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7214/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/txx9/generic/pci.c