[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 10 Oct 2006 09:58:39 -0400
From: "Dmitry Torokhov" <dmitry.torokhov@...il.com>
To: "Jeff Garzik" <jeff@...zik.org>
Cc: "Andrew Morton" <akpm@...l.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] input: handle sysfs errors
On 10/10/06, Jeff Garzik <jeff@...zik.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists