Skip to content
Commit cdbd3865 authored by Michael Ellerman's avatar Michael Ellerman Committed by Jeff Garzik
Browse files

Use dcr_host_t.base in dcr_unmap()



With the base stored in dcr_host_t, there's no need for callers to pass
the dcr_n into dcr_unmap(). In fact this removes the possibility of them
passing the incorrect value, which would then be iounmap()'ed.

Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 83f34df4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment