]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: ohci: prevent aliasing of locally handled register addresses
authorClemens Ladisch <clemens@ladisch.de>
Mon, 12 Apr 2010 08:35:30 +0000 (10:35 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 19 Apr 2010 17:58:32 +0000 (19:58 +0200)
commitabad75f4383e98d082d7fdd81a47dcfd605fb1e5
treef0060813795c68ab988a998c4cced16d67139ded
parentb2cc5ef4b696e43c35101aa1387d3b02eeac6ef2
firewire: ohci: prevent aliasing of locally handled register addresses

We must compute the offset from the CSR register base with the
full 48 address bits to prevent matching with addresses whose
lower 32 bits happen to be equal with one of the specially
handled registers.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c