]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
lib: proportions.c trivial sparse lock annotation
authorHarvey Harrison <harvey.harrison@gmail.com>
Tue, 6 Jan 2009 22:40:50 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:11 +0000 (15:59 -0800)
commit30079677428ae1349d5063b96f677270dfd54309
treef6a49c279b19fe2de541a4d9732c46fd26783e27
parent8cef7d57a4a47ef7166acde05eea0bc4f723691c
lib: proportions.c trivial sparse lock annotation

Suppresses sparse warning:
lib/proportions.c:159:16: warning: context imbalance in 'prop_get_global': wrong count at exit
lib/proportions.c:159:16:    context 'RCU': wanted 0, got 1
lib/proportions.c:164:2: warning: context imbalance in 'prop_put_global': unexpected unlock
lib/proportions.c:164:2:    context 'RCU': wanted 0, got -1

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/proportions.c