Messages in this thread | | | Date | Tue, 10 Oct 2006 09:58:39 -0400 | From | "Dmitry Torokhov" <> | Subject | Re: [PATCH] input: handle sysfs errors |
| |
On 10/10/06, Jeff Garzik <jeff@garzik.org> wrote: > > - device_create_file(&serio->dev, &atkbd_attr_extra); > - device_create_file(&serio->dev, &atkbd_attr_scroll); > - device_create_file(&serio->dev, &atkbd_attr_set); > - device_create_file(&serio->dev, &atkbd_attr_softrepeat); > - device_create_file(&serio->dev, &atkbd_attr_softraw); > + err = device_create_file(&serio->dev, &atkbd_attr_extra); > + if (err) goto fail_serio;
I have a patch that converts atkbd to attribute group and also one that handles errors from input_register_drevice. I will add sysfs error checks there as well.
-- Dmitry - 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/
| |