commit | 809aa5048fb7e7fd3bf0aa1fb169c42db0f63b08 | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@SteelEye.com> | Wed May 09 02:33:29 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed May 09 12:30:49 2007 -0700 |
tree | 11b46cfe54de960d7c5ea83c2ee31ee8222ad8b3 | |
parent | 818563dceccf695a71f8bd683a249e7bb09e3240 [diff] |
mca: fix bus matching There's a bug in the MCA bus matching algorithm in that it promotes from signed short to int before comparing with the actual id and does sign extension on anything > 0x7fff (which means that pos ids > 0x7fff never get correctly matched). Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>