summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2012-02-15 19:48:00 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-24 12:10:02 -0800
commitac917a81117ce0286847666b55dd265f6cda8383 (patch)
treeea5052ebeb55cc59fc0f3fa28df1560ddfa487f3 /tools/perf/scripts/python/sctop.py
parent08cd9ef4eca0b53cdae190b718e4945408c7d3b8 (diff)
staging:iio:core set the iio_dev.info pointer to null on unregister under lock.
This prevents use of provider callbacks after it has been unregistered. Note that all code using this that can be called from a consumer *must* check the pointer before using and hold the info_exist_lock throughout the usage of the callbacks in info. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions