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().
>
>
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
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