[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110318.215313.149843288.davem@davemloft.net>
Date: Fri, 18 Mar 2011 21:53:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: ratbert@...aday-tech.com, eric.dumazet@...il.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] ftmac100: use resource_size()
From: Dan Carpenter <error27@...il.com>
Date: Sat, 19 Mar 2011 07:39:15 +0300
> The calculation is off-by-one. It should be "end - start + 1". This
> patch fixes it to use resource_size() instead. Oddly, the code already
> uses resource size correctly a couple lines earlier when it calls
> request_mem_region() for this memory.
>
> Signed-off-by: Dan Carpenter <error27@...il.com>
Applied, thanks for fixing this 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