kernel/resource.c: correct the comment of allocate_resource()
authorWei Yang <weiyang@linux.vnet.ibm.com>
Thu, 31 May 2012 23:26:05 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Jun 2012 00:49:26 +0000 (17:49 -0700)
commitee5e5683d8ac3fec876cb6c26792212f773d5898
tree80268aac11745372df02fb3fbdab669e60a405af
parenta3860c1c5dd1137db23d7786d284939c5761d517
kernel/resource.c: correct the comment of allocate_resource()

In the comment of allocate_resource(), the explanation of parameter max
and min is not correct.

Actually, these two parameters are used to specify the range of the
resource that will be allocated, not the min/max size that will be
allocated.

Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/resource.c