Tag: e0897ae3ec720b1653d4ff9aaf48b532c276ab63

net: fjes: Use resource_size

Author: Vaishali Thakkar <vaishali.thakkar@oracle.com> Use the function resource_size instead of explicit computation. Problem found using Coccinelle. Signed-off-by: Vaishali Thakkar Signed-off-by: David S. Miller — drivers/net/fjes/fjes_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 0ddb54f..061b4af 100644 — a/drivers/net/fjes/fjes_main.c +++ b/drivers/net/fjes/fjes_main.c @@ -1129,7 +1129,7 @@ static int fjes_probe(struct platform_device …

Continue reading