Signed-off-by: Marcin Slusarz <[email protected]>
---
 drivers/gpu/drm/nouveau/nouveau_drv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c 
b/drivers/gpu/drm/nouveau/nouveau_drv.c
index ef196df..401c8ee 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -226,7 +226,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;
                }
        }
-- 
1.7.7

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to