Skip to content
Commit 0580a181 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Catalin Marinas
Browse files

kmemleak: fix sparse warning over overshadowed flags



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: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent a1084c87
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment