summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorJonathan Cameron2012-02-15 20:48:00 +0100
committerGreg Kroah-Hartman2012-02-24 21:10:02 +0100
commitac917a81117ce0286847666b55dd265f6cda8383 (patch)
treeea5052ebeb55cc59fc0f3fa28df1560ddfa487f3 /arch/ia64
parentstaging: tidspbridge: detect wdt3 feature at runtime (diff)
downloadkernel-qcow2-linux-ac917a81117ce0286847666b55dd265f6cda8383.tar.gz
kernel-qcow2-linux-ac917a81117ce0286847666b55dd265f6cda8383.tar.xz
kernel-qcow2-linux-ac917a81117ce0286847666b55dd265f6cda8383.zip
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 'arch/ia64')
0 files changed, 0 insertions, 0 deletions