[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1295546179.28001.4.camel@Joe-Laptop>
Date: Thu, 20 Jan 2011 09:56:19 -0800
From: Joe Perches <joe@...ches.com>
To: Po-Yu Chuang <ratbert.chuang@...il.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
bhutchings@...arflare.com, eric.dumazet@...il.com,
dilinger@...ued.net, Po-Yu Chuang <ratbert@...aday-tech.com>
Subject: Re: [PATCH v3] net: add Faraday FTMAC100 10/100 Ethernet driver
On Thu, 2011-01-20 at 23:30 +0800, Po-Yu Chuang wrote:
> From: Po-Yu Chuang <ratbert@...aday-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));
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists