firewire: ohci: fix DMA unmapping in an error path
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 11 Aug 2011 18:40:42 +0000 (20:40 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 12 Aug 2011 13:30:08 +0000 (15:30 +0200)
commita01e836087881dd9d824417190994c9b2b0f1dbb
treedba049b83137d4cda2fdc53ed06d83897a74dc4f
parent9c1176b6a28850703ea6e3a0f0c703f6d6c61cd3
firewire: ohci: fix DMA unmapping in an error path

If request_irq failed, we would pass wrong arguments to
dma_free_coherent.  https://bugzilla.redhat.com/show_bug.cgi?id=728185

Reported-by: Mads Kiilerich
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c