Thread (5 messages) flat view 5 messages, 4 authors, 2017-06-22

Re: [next-20170609] WARNING: CPU: 3 PID: 71167 at lib/idr.c:157 idr_replace

From: Chris Wilson <hidden>
Date: 2017-06-21 23:31:56
Also in: linux-next, lkml

Quoting Tejun Heo (2017-06-13 14:58:49)
Cc'ing David Airlie.
=
This is from drm driver calling in idr_replace() w/ a negative id.
Probably a silly bug in error handling path?
No, this is the validation of an invalid userspace handle. The drm ABI
for handles is supposed to be a full u32 range with 0 reserved for an
invalid handle (constrained by the idr_alloc ofc). The WARN was
introduced by 0a835c4f090a.
-Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help