[PATCH] drm/radeon: fix DRM_IOCTL_RADEON_CS oops

2015-03-03 Thread Christian König
Good catch. Patch is Reviewed-by: Christian König Regards, Christian. On 02.03.2015 20:36, Tommi Rantala wrote: > Passing zeroed drm_radeon_cs struct to DRM_IOCTL_RADEON_CS produces the > following oops. > > Fix by always calling INIT_LIST_HEAD() to avoid the crash in list_sort(). > >

[PATCH] drm/radeon: fix DRM_IOCTL_RADEON_CS oops

2015-03-03 Thread Alex Deucher
On Tue, Mar 3, 2015 at 4:10 AM, Christian König wrote: > Good catch. > > Patch is Reviewed-by: Christian König > > Regards, > Christian. > Applied to my -fixes tree. Thanks! Alex > > On 02.03.2015 20:36, Tommi Rantala wrote: >> >> Passing zeroed drm_radeon_cs struct to DRM_IOCTL_RADEON_CS

[PATCH] drm/radeon: fix DRM_IOCTL_RADEON_CS oops

2015-03-02 Thread Tommi Rantala
Passing zeroed drm_radeon_cs struct to DRM_IOCTL_RADEON_CS produces the following oops. Fix by always calling INIT_LIST_HEAD() to avoid the crash in list_sort(). -- #include #include #include #include #include static const struct drm_radeon_cs cs; in