From: Ryan Mallon Date: Fri, 27 Jan 2012 21:51:40 +0000 (+1100) Subject: vmwgfx: Fix assignment in vmw_framebuffer_create_handle X-Git-Tag: v3.3-rc2~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf9c05d5b6d19b3e4c9fe21047694e94f48db89b;p=pandora-kernel.git vmwgfx: Fix assignment in vmw_framebuffer_create_handle The assignment of handle in vmw_framebuffer_create_handle doesn't actually do anything useful and is incorrectly assigning an integer value to a pointer argument. It appears that this is a typo and should be dereferencing handle rather than assigning to it directly. This fixes a bug where an undefined handle value is potentially returned to user-space. Signed-off-by: Ryan Mallon Reviewed-by: Jakob Bornecrantz Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed