Messages in this thread |  | | From | "Perez-Gonzalez, Inaky" <> | Subject | RE: Serio keyboard issues 2.5.70 | Date | Wed, 4 Jun 2003 12:51:04 -0700 |
| |
> void serio_register_device(struct serio_dev *dev) > { > struct serio *serio; > list_add_tail(&dev->node, &serio_dev_list); > printk("serio: add_tail %08x\n",&dev->node); > list_for_each_entry(serio, &serio_list, node) { > printk("serio: register_device %08x\n",serio->dev); > if (!serio->dev && dev->connect) { > printk("serio: connecting...\n"); > dev->connect(serio, dev); > } > } > }
Well - I don't know the real reason, but the code is adding the device to the 'serio_dev_list', and the list iteration is going over the 'serio_list'...
Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own (and my fault) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |