[PATCH 03/12] Consolidate of_device_is_compatible

Stephen Rothwell sfr at canb.auug.org.au
Fri Jul 20 02:02:08 EST 2007

Hi Scott,

On Thu, 19 Jul 2007 10:52:07 -0500 Scott Wood <scottwood at freescale.com> wrote:
> 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?

That issue was discussed earlier and is high on the list of things to do
after this lot goes in.  The priority here is to get the consolidation
started along with no (or few) visible changes.

> The PowerPC one will need to drop the 'n' soon, as well, but that should
> be a separate patch.

Yes, certainly.

Stephen Rothwell                    sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070720/af9d75ab/attachment.pgp>

More information about the Linuxppc-dev mailing list