From: Marcin Slusarz Date: Sun, 6 Nov 2011 19:32:03 +0000 (+0100) Subject: drm/nouveau: print correct engine number which failed to unload/idle X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=13f90122e87e30615d0e877337a76bf020c7f043;p=linux-beck.git drm/nouveau: print correct engine number which failed to unload/idle Signed-off-by: Marcin Slusarz Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c index c033a0a4f2b2..ffde896b1f3c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.c +++ b/drivers/gpu/drm/nouveau/nouveau_drv.c @@ -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; } }