diff options
| author | Sean Young <sean@mess.org> | 2017-01-30 13:49:58 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-03-24 08:27:07 -0300 |
| commit | 74c839b2f5544fd77fdb34a99b577965d4812edf (patch) | |
| tree | c3eccff4c63588d72c16b31ba185e9dfb856fe0a /scripts/patch-kernel | |
| parent | [media] serial_ir: iommap is a memory address, not bool (diff) | |
| download | linux-74c839b2f5544fd77fdb34a99b577965d4812edf.tar.gz linux-74c839b2f5544fd77fdb34a99b577965d4812edf.zip | |
[media] lirc: use refcounting for lirc devices
If a lirc device is unplugged, the struct rc_dev is freed even though
userspace can still have a file descriptor open on the lirc chardev. The
rc_dev structure can be used in a subsequent, or even currently executing
ioctl, read or write.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
