aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <[email protected]>2017-05-27 01:53:04 +0300
committerJonathan Cameron <[email protected]>2017-05-28 15:45:46 +0100
commit95264c8c6a9040e84edda883dbbe9d193c41f46c (patch)
tree2b8d34342f67f0408c0775a49da54c9460e6be90 /net/unix/sysctl_net_unix.c
parent3d51b956267343a65498704ada854c33c0f5e946 (diff)
staging: iio: ad7152: Fix deadlock in ad7152_write_raw_samp_freq()
ad7152_write_raw_samp_freq() is called by ad7152_write_raw() with chip->state_lock held. So, there is unavoidable deadlock when ad7152_write_raw_samp_freq() locks the mutex itself. The patch removes unneeded locking. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <[email protected]> Fixes: 6572389bcc11 ("staging: iio: cdc: ad7152: Implement IIO_CHAN_INFO_SAMP_FREQ attribute") Acked-by: Lars-Peter Clausen <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions