[PATCH] fix memory scribble in arch/i386/pci/fixup.c
authorChristoph Lameter <christoph@lameter.com>
Tue, 17 May 2005 15:48:16 +0000 (08:48 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 16:27:05 +0000 (09:27 -0700)
commitff0d2f90fdc4b564d47a7c26b16de81a16cfa28e
tree6bb5a1cf91bbda8308ec7e6d900cb89071907dcd
parent8c41a5f50deab01aca11155154d7e6737b3a1d9f
[PATCH] fix memory scribble in arch/i386/pci/fixup.c

The GET_INDEX() macro should use just the low three bits of the devfn,
otherwise we have a memory scribble in pcie_rootport_aspm_quirk that
overwrites ptype_all

Fix it to be more careful about its arguments while at it.

Acked by Dely Sy <dely.l.sy@intel.com>

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/pci/fixup.c