summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2020-12-20 15:29:54 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-04 13:00:25 +0300
commit896111dc4bcf887b835b3ef54f48b450d4692a1d (patch)
tree89c95a11a0a183978b946a9c98b2d498fc556e29 /scripts/gdb/linux/tasks.py
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (diff)
downloadlinux-896111dc4bcf887b835b3ef54f48b450d4692a1d.tar.xz
media: rc: ensure that uevent can be read directly after rc device register
There is a race condition where if the /sys/class/rc0/uevent file is read before rc_dev->registered is set to true, -ENODEV will be returned. Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1901089 Cc: stable@vger.kernel.org Fixes: a2e2d73fa281 ("media: rc: do not access device via sysfs after rc_unregister_device()") Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions