[patch 1/1] updated version, fixed the compiler warning

Segher Boessenkool segher at kernel.crashing.org
Thu Jan 25 11:29:48 EST 2007


>> +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.

> Though since you don't
> have the choice in having a module_exit or not, you should really
> implement one that works :-)

Genau.


Segher




More information about the Linuxppc-dev mailing list