]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/configfs: Fix is_bound() pci_dev lifetime
authorShuicheng Lin <shuicheng.lin@intel.com>
Wed, 21 Jan 2026 17:37:51 +0000 (17:37 +0000)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Thu, 29 Jan 2026 02:39:30 +0000 (18:39 -0800)
commit63b33604365bdca43dee41bab809da2230491036
tree0d6abc2238873ca3cf3f475bf4199ee2e7af8720
parent6edeabacb71cfaadb6b406655cdbc53ed40b521c
drm/xe/configfs: Fix is_bound() pci_dev lifetime

Move pci_dev_put() after pci_dbg() to avoid using pdev after dropping its
reference.

Fixes: 2674f1ef29f46 ("drm/xe/configfs: Block runtime attribute changes")
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patch.msgid.link/20260121173750.3090907-2-shuicheng.lin@intel.com
drivers/gpu/drm/xe/xe_configfs.c