lkml.org 
[lkml]   [2017]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 6/6] drm: Add four ioctls for managing drm mode object leases [v4]
> +                */
> + ret = idr_alloc(&leases, &drm_lease_idr_object , object_id, object_id + 1, GFP_KERNEL);

In current kernels, the idr_alloc warns if start < 0, so if object_id
is a negative signed integer, which your
igt tests actually make it.

So we get an ugly debug splat from the idr code, you should probably
make sure object_id is
something valid in signed space first, to avoid the splat.

Dave.

\
 
 \ /
  Last update: 2017-10-10 09:41    [W:0.088 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site