lkml.org 
[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3] net: add Faraday FTMAC100 10/100 Ethernet driver
From
Date
On Thu, 2011-01-20 at 23:30 +0800, Po-Yu Chuang wrote:
> From: Po-Yu Chuang <ratbert@faraday-tech.com>
[]
> + /* map io memory */
> + priv->res = request_mem_region(res->start, res->end - res->start,
> + dev_name(&pdev->dev));

Off by one?

priv->res = request_mem_region(res->start, resource_size(res),
dev_name(&pdev->dev));





\
 
 \ /
  Last update: 2011-01-20 18:59    [from the cache]
©2003-2011 Jasper Spaans