korina: use resource_size()
authorDan Carpenter <error27@gmail.com>
Mon, 22 Mar 2010 02:11:45 +0000 (02:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Mar 2010 01:33:11 +0000 (18:33 -0700)
commit38013262c2c815fa404fa9f42dbc958c616fb385
tree863e30091427a63b22397ad46c2b00a755546b30
parent3e4aa12f8a81506c44f04b4f0eb7663981c5a282
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: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/korina.c