All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] init-mainc-fix-sparse-warnings-context-imbalance.patch removed from -mm tree
@ 2009-04-01 18:39 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2009-04-01 18:39 UTC (permalink / raw)
  To: hannes, mingo, mm-commits


The patch titled
     init/main.c: fix sparse warnings: context imbalance
has been removed from the -mm tree.  Its filename was
     init-mainc-fix-sparse-warnings-context-imbalance.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: init/main.c: fix sparse warnings: context imbalance
From: Hannes Eder <hannes@hanneseder.net>

Impact: Attribute function 'init_post' with __releases(...).

Fix these sparse warnings:
  init/main.c:805:21: warning: context imbalance in 'init_post' - unexpected unlock
  init/main.c:899:9: warning: context imbalance in 'kernel_init' - wrong count at exit

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 init/main.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN init/main.c~init-mainc-fix-sparse-warnings-context-imbalance init/main.c
--- a/init/main.c~init-mainc-fix-sparse-warnings-context-imbalance
+++ a/init/main.c
@@ -793,6 +793,7 @@ static void run_init_process(char *init_
  * makes it inline to init() and it becomes part of init.text section
  */
 static noinline int init_post(void)
+	__releases(kernel_lock)
 {
 	/* need to finish all async __init code before freeing the memory */
 	async_synchronize_full();
_

Patches currently in -mm which might be from hannes@hanneseder.net are

origin.patch
linux-next.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-01 19:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01 18:39 [merged] init-mainc-fix-sparse-warnings-context-imbalance.patch removed from -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.