Re: [Linux-fbdev-devel] [PATCH] drivers: process failure of sysfs_create_group()

From: Michal Januszewski
Date: Tue Nov 11 2008 - 05:05:40 EST


On Mon, Nov 10, 2008 at 22:30, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:

>> When fail to call sysfs_create_group(), it should recycle resources and return the error.
>> This patch fix for processing failure of sysfs_create_group().
>
> IIRC, the reasoning behind the current code is that a failure to create sysfs
> entries is not critical, as it doesn't impact the correct functioning of the
> core of the driver.

That's correct -- that was exactly my reasoning behind this code.

--
Michal Januszewski, Gentoo Linux Developer
http://people.gentoo.org/spock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/