Thread (3 messages) flat view 3 messages, 3 authors, 2011-03-19

Re: [patch] ftmac100: use resource_size()

From: David Miller <davem@davemloft.net>
Date: 2011-03-19 04:52:35
Also in: kernel-janitors

From: Dan Carpenter <redacted>
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 <redacted>
Applied, thanks for fixing this Dan.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help