[PATCH 03/12] Consolidate of_device_is_compatible

Segher Boessenkool segher at kernel.crashing.org
Fri Jul 20 02:58:27 EST 2007


>> The only difference here is that Sparc uses strncmp to match  
>> compatibility
>> names while PowerPC uses strncasecmp.
>
> Could we put a comment in saying that both should really just use
> strcmp(), and that this mechanism should go away once any  
> compatibility
> issues are found and addressed?
>
> The PowerPC one will need to drop the 'n' soon, as well, but that  
> should
> be a separate patch.

I think both of these are on enough to-do lists that adding
a comment isn't necessary ;-)


Segher




More information about the Linuxppc-dev mailing list