From: Mikulas Patocka Date: Thu, 22 Nov 2007 20:26:01 +0000 (+0100) Subject: plip: fix parport_register_device name parameter X-Git-Tag: v2.6.24-rc4~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdb32706f6948238ed6d1d85473c64c27366e9e9;p=pandora-kernel.git plip: fix parport_register_device name parameter Plip passes a string "name" that is allocated on stack to parport_register_device. parport_register_device holds the pointer to "name" and when the registering function exits, it points nowhere. On some machine, this bug causes bad names to appear in /proc, such as /proc/sys/dev/parport/parport0/devices/T^/�X^/�, on others, the plip proc node is completely missing. The patch also fixes documentation to note this requirement. Signed-off-by: Mikulas Patocka Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed