summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorCathal Mullaney <chuckleberryfinn@gmail.com>2016-10-19 22:43:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-25 10:53:27 +0200
commitf0208b7155bc6e395c09652290a16b66e77442f3 (patch)
tree09494f6508682801c767d0db476c66a331be6ff8 /tools/perf/scripts/python/call-graph-from-postgresql.py
parente0e6964805c6427f2c07b5a52820c0163de74010 (diff)
downloadlinux-f0208b7155bc6e395c09652290a16b66e77442f3.tar.gz
linux-f0208b7155bc6e395c09652290a16b66e77442f3.zip
staging: unisys: visorbus: visorchannel: Refactor locking code to be statically deterministic.
This patch makes locking in visorchannel_signalempty statically deterministic. As a result this patch fixes the sparse warning: Context imbalance in 'visorchannel_signalempty' - different lock contexts for basic block. The logic of the locking code doesn't change but the layout of the original code is "frowned upon" according to mails on sparse context checking. Refactoring removes the warning and makes the code more readable. Signed-off-by: Cathal Mullaney <chuckleberryfinn@gmail.com> Tested-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions