linux/include
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
..
acpi Fixes: 2013-03-12 20:25:53 -07:00
asm-generic asm-generic: move cmpxchg*_local defs to cmpxchg.h 2013-03-13 06:11:05 +01:00
clocksource ImgTec Meta architecture changes for v3.9-rc1 2013-03-03 12:06:09 -08:00
crypto
drm drm: proc: Use minor->index to label things, not PDE->name 2013-05-01 17:29:44 -04:00
keys
linux proc: Supply an accessor for getting the data from a PDE's parent 2013-05-01 17:29:42 -04:00
math-emu
media
memory
misc
net hostap: Don't use create_proc_read_entry() 2013-04-29 15:41:56 -04:00
pcmcia
ras
rdma
rxrpc
scsi scsi: bury ->proc_info() 2013-04-09 14:13:29 -04:00
sound arm-soc: late OMAP changes 2013-02-28 20:00:40 -08:00
target
trace Various bug fixes for ext4. The most important is a fix for the new 2013-03-02 19:33:21 -08:00
uapi net: fix *_DIAG_MAX constants 2013-03-21 12:36:33 -04:00
video ARM: at91: fix LCD-wiring mode 2013-03-13 11:05:04 +01:00
xen
Kbuild