]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MSI: Use correct data offset for 32-bit MSI in read_msi_msg()
authorRoland Dreier <roland@digitalvampire.org>
Fri, 12 Oct 2007 22:16:16 +0000 (15:16 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Nov 2007 17:30:22 +0000 (09:30 -0800)
commitb4fe19f099c5541621f449034f10b6a9e3f7bbdb
tree8ff59a92d291946462b047a55814f2578412047d
parent1094650c9b3d035380ae3f5add3debea89007113
MSI: Use correct data offset for 32-bit MSI in read_msi_msg()

patch cbf5d9e6b9bcf03291cbb51db144b3e2773a8a2d in mainline.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c