Thread (9 messages) flat view 9 messages, 4 authors, 2007-07-04

Re: Should of_device_is_compatible() use strcmp() rather than strncasecmp()?

From: Segher Boessenkool <hidden>
Date: 2007-07-04 12:09:33

quoted
Does anything actually rely on this behavior?
Things did in the past rely on the case-insensitive comparison but
probably don't any more.  I recall an issue with "ata" vs. "ATA" on
the powerbook 3400.
Yes, and there are some AAPL, vs. aapl, things too; and an
i2c thing as well.  Probably more.  Nothing unfixable of course,
but...
As for the "n" part, I don't recall exactly why that was done.  I
think we should change it to use strcmp and fix any drivers that
break.
...we first need to find the problem spots.  If we switch early
in the .23 series, will that be enough time to find all (important)
issues?


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help