]> git.baikalelectronics.ru Git - kernel.git/commit
MSI: Use correct data offset for 32-bit MSI in read_msi_msg()
authorRoland Dreier <roland@digitalvampire.org>
Wed, 3 Oct 2007 18:15:11 +0000 (11:15 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 22:03:17 +0000 (15:03 -0700)
commit5d1840b82660bb298dcfed7f57d34f74b3351b29
tree494d61012a0d5f23f2af9be72a2e17a1c7f344fc
parentc88f60983e6527227a6b7210ed949e5399047774
MSI: Use correct data offset for 32-bit MSI in read_msi_msg()

While reading the MSI code trying to find a reason why MSI wouldn't
work for devices that have a 32-bit MSI address capability, I noticed
that read_msi_msg() seems to read the message data from the wrong
offset in this case.

Signed-off-by: Roland Dreier <roland@digitalvampire.org>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c