Re: PATCH: SBC EPX does not check/claim I/O ports it uses

From: Alan Cox
Date: Tue Jan 17 2006 - 13:08:52 EST


On Maw, 2006-01-17 at 19:03 +0100, Bartlomiej Zolnierkiewicz wrote:
> > ret = register_reboot_notifier(&epx_c3_notifier);
> > if (ret) {
>
> Shouldn't resource be released when
> register_reboot_notifier() or misc_register() fails?

Yes, let me insert my brain and post a corrected patch.

-
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/