mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-28 19:09:17 -04:00
drm/nouveau: print correct engine number which failed to unload/idle
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
committed by
Ben Skeggs
parent
0f0f7be8bd
commit
13f90122e8
@@ -222,7 +222,7 @@ nouveau_pci_suspend(struct pci_dev *pdev, pm_message_t pm_state)
|
||||
|
||||
ret = dev_priv->eng[e]->fini(dev, e, true);
|
||||
if (ret) {
|
||||
NV_ERROR(dev, "... engine %d failed: %d\n", i, ret);
|
||||
NV_ERROR(dev, "... engine %d failed: %d\n", e, ret);
|
||||
goto out_abort;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user