summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZachary Warren <conflatulence@gmail.com>2015-01-17 22:39:53 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-28 10:52:58 -0800
commitb12fdf7da28ff9709a72814e141646e20d97ed21 (patch)
tree2f3bbf59989a4475cc1210a2a972855dffcc6f5b /tools/perf/scripts/python
parentc1f79c74e222000386f3950ed98d150e6009648b (diff)
staging: unisys: rework signal remove/insert to avoid sparse lock warnings
Avoids the following warnings from sparse: visorchannel_funcs.c:457:9: warning: context imbalance in 'visorchannel_signalremove' - different lock contexts for basic block visorchannel_funcs.c:512:9: warning: context imbalance in 'visorchannel_signalinsert' - different lock contexts for basic These warnings are false positives. Sparse can't track conditional contexts. The change puts the lock/unlock into the same context by splitting the insert/remove functions each into a wrapper function that does locking if necessary and an inner function that does the insert/remove operation. Signed-off-by: Zachary Warren <conflatulence@gmail.com> Acked-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions