[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)
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>

No differences found