Re: [bug report] drm: re-enable error handling

2018-07-19 Thread Nicholas Mc Guire
On Thu, Jul 19, 2018 at 11:10:30AM +0300, Dan Carpenter wrote: > Hello Nicholas Mc Guire, > > The patch d530b5f1ca0b: "drm: re-enable error handling" from Jul 14, > 2018, leads to the following static checker warning: > > drivers/gpu/drm/drm_context.c:375 drm_legacy_addctx() > warn: u

[bug report] drm: re-enable error handling

2018-07-19 Thread Dan Carpenter
Hello Nicholas Mc Guire, The patch d530b5f1ca0b: "drm: re-enable error handling" from Jul 14, 2018, leads to the following static checker warning: drivers/gpu/drm/drm_context.c:375 drm_legacy_addctx() warn: unsigned 'ctx->handle' is never less than zero. drivers/gpu/drm/drm_conte