Message ID | 511ABD69.3060201@suse.cz (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hello, Jiri. On Tue, Feb 12, 2013 at 11:08:41PM +0100, Jiri Slaby wrote: > > Oh my, maybe: return ret < 0 ? ret : 0... Let's try. > > Bull's eye. Aieee.... > --- a/drivers/gpu/drm/drm_gem.c > +++ b/drivers/gpu/drm/drm_gem.c > @@ -459,6 +459,7 @@ drm_gem_flink_ioctl(struct drm_device *dev, void *data, > > if (ret < 0) > goto err; > + ret = 0; > > /* Allocate a reference for the name table. */ > drm_gem_object_reference(obj); Care to write up a proper patch w/ SOB? Thanks!
--- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_gem.c @@ -459,6 +459,7 @@ drm_gem_flink_ioctl(struct drm_device *dev, void *data, if (ret < 0) goto err; + ret = 0; /* Allocate a reference for the name table. */ drm_gem_object_reference(obj);