[PATCH] fix plip 2

2007-11-22 Thread Mikulas Patocka
This is my second patch for plip. Plip passes 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

[PATCH] fix plip 2

2007-11-22 Thread Mikulas Patocka
This is my second patch for plip. Plip passes 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