Skip to contentSkip to conversation

+ kernel-resourcec-make-reallocate_resource-static.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Feb 13, 2014

lore
Share & tools
lore
#0 lore raw

Subject: + kernel-resourcec-make-reallocate_resource-static.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Thu, 13 Feb 2014 14:46:16 -0800

The patch titled
Subject: kernel/resource.c: make reallocate_resource() static
has been added to the -mm tree. Its filename is
kernel-resourcec-make-reallocate_resource-static.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-resourcec-make-reallocate_resource-static.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-resourcec-make-reallocate_resource-static.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: Daeseok Youn <[email protected]>
Subject: kernel/resource.c: make reallocate_resource() static

sparse says:

kernel/resource.c:518:5: warning:
symbol 'reallocate_resource' was not declared. Should it be static?

---

 kernel/resource.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/resource.c renamed from kernel/resource.c~kernel-resourcec-make-reallocate_resource-static +1 -1
diff -puN kernel/resource.c~kernel-resourcec-make-reallocate_resource-static kernel/resource.c
@@ -515,7 +515,7 @@ static int find_resource(struct resource
  * @newsize: new size of the resource descriptor
  * @constraint: the size and alignment constraints to be met.
  */
-int reallocate_resource(struct resource *root, struct resource *old,
+static int reallocate_resource(struct resource *root, struct resource *old,
 			resource_size_t newsize,
 			struct resource_constraint  *constraint)
 {

_

Patches currently in -mm which might be from [email protected] are

kernel-resourcec-make-reallocate_resource-static.patch linux-next.patch