* + kernel-resourcec-correct-the-comment-of-allocate_resource.patch added to -mm tree
@ 2012-05-08 23:30 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2012-05-08 23:30 UTC (permalink / raw)
To: mm-commits; +Cc: weiyang
The patch titled
Subject: kernel/resource.c: correct the comment of allocate_resource()
has been added to the -mm tree. Its filename is
kernel-resourcec-correct-the-comment-of-allocate_resource.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Wei Yang <weiyang@linux.vnet.ibm.com>
Subject: 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>
---
kernel/resource.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN kernel/resource.c~kernel-resourcec-correct-the-comment-of-allocate_resource kernel/resource.c
--- a/kernel/resource.c~kernel-resourcec-correct-the-comment-of-allocate_resource
+++ a/kernel/resource.c
@@ -515,8 +515,8 @@ out:
* @root: root resource descriptor
* @new: resource descriptor desired by caller
* @size: requested resource region size
- * @min: minimum size to allocate
- * @max: maximum size to allocate
+ * @min: minimum boundary to allocate
+ * @max: maximum boundary to allocate
* @align: alignment requested, in bytes
* @alignf: alignment function, optional, called if not NULL
* @alignf_data: arbitrary data to pass to the @alignf function
_
Subject: Subject: kernel/resource.c: correct the comment of allocate_resource()
Patches currently in -mm which might be from weiyang@linux.vnet.ibm.com are
kernel-resourcec-correct-the-comment-of-allocate_resource.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-08 23:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08 23:30 + kernel-resourcec-correct-the-comment-of-allocate_resource.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.