Skip to content
Commit 2e032b62 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Dan Williams
Browse files

iop-adma.c: use resource_size()



The size of the requested and ioremaped memory is off by 1.
Use resource_size() to get the correct value.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent a88f6667
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