linux_dsm_epyc7002/drivers/gpu/drm/sis
Márton Németh 648ccc7d35 drm sis: initialize object_idr
The filed object_idr of struct drm_sis_private was introduced with
commit http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=6de8a748881f1cd9d795454da2b6db616d5ca3d7 .

The idr_init(&dev->object_name_idr) is called instead of
idr_init(&dev_priv->object_idr) by mistake, leaving object_idr
uninitialized. Correct this.

This patch was not tested because of lack of hardware.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-16 11:18:53 +01:00
..
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
sis_drv.c drm sis: initialize object_idr 2012-06-16 11:18:53 +01:00
sis_drv.h drm/sis: use drm_mm instead of drm_sman 2011-12-22 00:33:23 +01:00
sis_mm.c drm/sis|via: don't return stack garbage from free_mem ioctl 2012-01-09 12:11:39 +00:00