···432432433433 if (ctx.handle != DRM_KERNEL_CONTEXT) {434434 if (dev->driver->context_ctor)435435- if (dev->driver->context_ctor(dev, ctx.handle)) {435435+ if (!dev->driver->context_ctor(dev, ctx.handle)) {436436 DRM_DEBUG("Running out of ctxs or memory.\n");437437 return -ENOMEM;438438 }439439- dev->driver->context_ctor(dev, ctx.handle);440439 }441440442441 ctx_entry = drm_alloc(sizeof(*ctx_entry), DRM_MEM_CTXLIST);