Commit c1ed856
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: 2674f1e ("drm/xe/configfs: Block runtime attribute changes")
Signed-off-by: Shuicheng Lin <[email protected]>
Reviewed-by: Ashutosh Dixit <[email protected]>
Signed-off-by: Ashutosh Dixit <[email protected]>
Link: https://patch.msgid.link/[email protected]
(cherry picked from commit 63b3360)
Signed-off-by: Thomas Hellström <[email protected]>1 parent ca8dcfe commit c1ed856
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
351 | | - | |
352 | 350 | | |
353 | 351 | | |
354 | 352 | | |
| 353 | + | |
355 | 354 | | |
356 | 355 | | |
357 | 356 | | |
| |||
0 commit comments