Files
linux/include/drm
David Howells b63e6aa502 drm: proc: Use minor->index to label things, not PDE->name
Use minor->index to label things, not the name field from the proc_dir_entry
of the /proc/dwm/<minor>/ directory.

Also, use "%u" not "%d" to render the value and use a 12-byte buffer in which
to render the integer, not a 16-byte buffer.  The longest string an unsigned
int can give you is 10 chars (4294967295) plus a NUL, so round up to 12 as the
stack is likely to be 4- or 8-byte aligned.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: dri-devel@lists.freedesktop.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-05-01 17:29:44 -04:00
..
2010-08-10 08:20:20 +10:00
2013-03-08 08:32:23 +10:00
2013-02-22 08:20:10 +01:00
2012-04-27 09:29:35 +01:00
2012-11-28 18:36:05 +10:00
2012-05-31 17:49:26 -07:00
2013-03-15 18:47:19 -04:00
2011-02-07 13:09:42 +10:00
2012-03-10 13:06:04 +00:00