[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100630.131213.199034040.davem@davemloft.net>
Date: Wed, 30 Jun 2010 13:12:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: florian@...nwrt.org, jpirko@...hat.com, eric.dumazet@...il.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] cpmac: use resource_size()
From: Dan Carpenter <error27@...il.com>
Date: Mon, 28 Jun 2010 23:19:33 +0200
> The original code is off by one because we should start counting at
> zero. So the size of the resource is end - start + 1. I switched it to
> use resource_size() to do the calculation.
>
> Signed-off-by: Dan Carpenter <error27@...il.com>
Applied to net-next-2.6, thanks Dan.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists