[PATCH 03/12] Consolidate of_device_is_compatible

Scott Wood scottwood at freescale.com
Fri Jul 20 01:52:07 EST 2007


On Fri, Jul 20, 2007 at 01:10:12AM +1000, Stephen Rothwell wrote:
> 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.

-Scott



More information about the Linuxppc-dev mailing list