]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit440b21ec42afe42c6f77c6829a12b9767fe2546c
tree80268aac11745372df02fb3fbdab669e60a405af
parent4504bcbb1e4fddd5baef7d3e635484c12bb1b2ec
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