[patch 1/1] updated version, fixed the compiler warning
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Jan 25 11:45:31 EST 2007
On Thu, 2007-01-25 at 01:29 +0100, Segher Boessenkool wrote:
> >> +static int __devexit ipmi_of_remove(struct of_device *dev)
> >> +{
> >> + /* should call
> >> + * cleanup_one_si(dev->dev.driver_data); */
> >> + return 0;
> >> +}
> >
> > If your remove doesn't work, don't implement one.
>
> As explained before, it's the underlying thing that doesn't
> work. Yeah someone should fix it one day. Still it's better
> to have this comment than to not have anything at all. An
> XXX FIXME: tag wouldn't be out of place of course.
If the underlying ipmi stuff cannot cleanup, then the driver should not
have a module_exit() so the module cannot be removed.
Ben.
More information about the Linuxppc-dev
mailing list