Message ID | 1452684474-17285-1-git-send-email-colin.king@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/user.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/user.c index 1ae48f2..93e0e53 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/device/user.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/user.c @@ -127,7 +127,7 @@ nvkm_udevice_time(struct nvkm_udevice *udev, void *data, u32 size) union { struct nv_device_time_v0 v0; } *args = data; - int ret; + int ret = 0; if (nvif_unpack(args->v0, 0, 0, false)) { args->v0.time = nvkm_timer_read(device->timer);