Re: [PATCH] stmmac: Fix incorrect resource calculation

From: David Miller
Date: Thu Apr 08 2010 - 00:49:42 EST


From: Axel Lin <axel.lin@xxxxxxxxx>
Date: Thu, 8 Apr 2010 09:28:02 +0800

> The size calculation is not correct. It should be end - start + 1.
> Use resource_size for {request/release}_mem_region and ioremap.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

A patch doing this was already submitted by Dan Carpenter to
the netdev list yesterday, and I will be applying his patch
right now.

And for future submissions, all networking patches should be at least
CC:'d to netdev.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/