Mikulas Patocka cdb32706f6 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 <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-26 19:39:01 -08:00
..
2007-11-15 15:06:32 -08:00
2007-11-14 18:45:47 -08:00
2007-10-30 14:32:17 -04:00
2007-10-29 05:47:09 -04:00
2007-11-14 15:51:01 -08:00
2007-10-30 14:32:17 -04:00
2007-10-30 14:32:17 -04:00
2007-11-05 17:58:36 -05:00
2007-10-17 20:23:30 -04:00
2007-10-10 16:52:06 -07:00
2007-10-10 16:51:57 -07:00
2007-07-10 12:41:08 -04:00
2007-11-05 17:57:30 -05:00
2007-10-10 16:55:27 -07:00
2007-10-10 16:51:43 -07:00
2007-10-10 16:54:07 -07:00
2007-10-19 11:53:41 -07:00
2007-10-10 16:55:57 -07:00
2007-10-10 16:55:27 -07:00
2007-10-19 23:00:01 -04:00
2007-10-10 16:51:13 -07:00
2007-10-10 16:51:13 -07:00
2007-10-19 11:53:42 -07:00
2007-07-30 15:48:16 -04:00
2007-07-30 15:48:16 -04:00
2007-10-17 20:11:28 -04:00
2007-10-10 16:50:46 -07:00
2007-10-25 03:31:13 -04:00
2007-10-25 03:31:13 -04:00
2007-10-19 11:53:41 -07:00
2007-10-10 16:51:13 -07:00
2007-11-02 08:47:06 +01:00
2007-10-19 11:53:42 -07:00
2007-04-28 11:01:05 -04:00
2007-10-15 14:29:49 -04:00
2007-10-10 16:51:13 -07:00
2007-10-23 21:28:40 -04:00
2007-10-22 02:59:53 -07:00
2007-10-10 16:54:38 -07:00
2007-11-10 04:25:14 -05:00
2007-10-10 16:54:30 -07:00
2007-11-12 18:07:31 -08:00
2007-10-19 11:53:42 -07:00
2007-10-19 11:53:42 -07:00
2007-10-15 14:29:48 -04:00
2007-10-16 21:10:29 -04:00
2007-11-10 04:25:15 -05:00
2007-05-04 17:59:08 -07:00
2007-07-16 15:02:47 +02:00
2007-10-10 16:51:13 -07:00
2007-11-15 15:38:45 -08:00
2007-10-10 16:51:34 -07:00
2007-10-10 16:51:34 -07:00
2007-11-12 21:23:21 -08:00
2007-11-12 21:22:02 -08:00
2007-10-10 16:51:13 -07:00
2007-10-19 23:00:03 -04:00
2007-09-13 15:43:46 -05:00
2007-10-10 16:52:04 -07:00
2007-10-10 16:53:49 -07:00