Re: [PATCH v4l/dvb] firedtv: add forgotten __exit annotation

From: Stefan Richter
Date: Sun Jan 10 2010 - 10:12:48 EST


Stefan Richter wrote on 2009-12-26:
> fdtv_fw_exit() is part of the firedtv driver's .exit.text section.
...
> --- linux-2.6.33-rc2.orig/drivers/media/dvb/firewire/firedtv-fw.c
> +++ linux-2.6.33-rc2/drivers/media/dvb/firewire/firedtv-fw.c
> @@ -332,7 +332,7 @@ int __init fdtv_fw_init(void)
> return driver_register(&fdtv_driver.driver);
> }
>
> -void fdtv_fw_exit(void)
> +void __exit fdtv_fw_exit(void)
> {
> driver_unregister(&fdtv_driver.driver);
> fw_core_remove_address_handler(&fcp_handler);
>

This patch is bogus. fdtv_fw_exit() is also called from firedtv's init.
--
Stefan Richter
-=====-==-=- ---= -=-=-
http://arcgraph.de/sr/
--
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/