Re: [PATCH v3 4/5] kmemleak: fix sparse warning over overshadowedflags

From: Pekka Enberg
Date: Sat Sep 05 2009 - 04:49:13 EST

Luis R. Rodriguez wrote:
A secondary irq_save is not required as a locking before it was
already disabling irqs.

This fixes this sparse warning:
mm/kmemleak.c:512:31: warning: symbol 'flags' shadows an earlier one
mm/kmemleak.c:448:23: originally declared here

Signed-off-by: Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx>

Acked-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at