From: Ville Syrjälä Date: Mon, 3 Jun 2013 13:10:41 +0000 (+0300) Subject: drm/vmwgfx: Don't access file_priv in cursor_set when handle==0 X-Git-Tag: v3.11-rc1~65^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5d0f5766f2e9cb04f0f775bf679d41ae1a54d50;p=pandora-kernel.git drm/vmwgfx: Don't access file_priv in cursor_set when handle==0 We want to disable the cursor by calling ->cursor_set() with handle=0 from places where we don't have a file_priv, so don't try to access it unless necessary. Signed-off-by: Ville Syrjälä Reviewed-by: Jakob Bornecrantz Signed-off-by: Dave Airlie --- Reading git-diff-tree failed