korina: use resource_size()
This size calculation is wrong. It should be end - start + 1. Use resource_size() to calculate it correctly. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录