mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
[media] drivers/media/media-device: move debug log before _devnode_unregister()
After media_devnode_unregister(), the struct media_device may be freed already, and dereferencing it may crash. Signed-off-by: Max Kellermann <max@duempel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
47cae1e1cf
commit
c56d34a73e
1 changed files with 1 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue