]> 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)
commit41109a14360010d1aecd904170794f7e5bdd7cb9
tree80268aac11745372df02fb3fbdab669e60a405af
parent96b8f8b105a4a2b8a053d67f7b49ea853625a4db
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