]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitcbf5d9e6b9bcf03291cbb51db144b3e2773a8a2d
tree494d61012a0d5f23f2af9be72a2e17a1c7f344fc
parenta56bc69a182f501582557af7fad5bc882b1c856c
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