Re: [PATCH 1/3] drm: Cleanup after failing to create master->unique and dev->name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 24 Jul 2010 18:29:35 +0100, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> @@ -323,7 +358,9 @@ int drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_pri
>  			/*
>  			 * Version 1.1 includes tying of DRM to specific device
>  			 */
> -			drm_set_busid(dev, file_priv);
> +			retcode = drm_set_busid(dev, file_priv);
> +			if (retcode)
> +				goto done;

And actually returning the error code is breaking xorg 1.8.99...
Hmm.

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux