Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()
From: Shuah Khan <hidden>
Date: 2012-08-06 03:41:39
Also in:
lkml
On Mon, 2012-07-30 at 13:18 +0300, Pekka Enberg wrote:
On Sat, Jul 14, 2012 at 2:12 AM, Shuah Khan [off-list ref] wrote:quoted
The label oops is used in CONFIG_DEBUG_VM ifdef block and is defined outside ifdef CONFIG_DEBUG_VM block. This results in the following build warning when built with CONFIG_DEBUG_VM disabled. Fix to move label oops definition to inside a CONFIG_DEBUG_VM block. mm/slab_common.c: In function a??kmem_cache_createa??: mm/slab_common.c:101:1: warning: label a??oopsa?? defined but not used [-Wunused-label] Signed-off-by: Shuah Khan <redacted>I merged this as an obvious and safe fix for current merge window. We need to clean this up properly for v3.7.
Thanks for merging the obvious fix. I was on vacation for the last two weeks, and just got back. I sent another patch that restructures the debug and non-debug code right before I went on vacation. Didn't get a chance to look at the responses (if any). Will get working on following up and re-working and re-sending the patch as needed this week. -- Shuah -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>