[PATCH 3/4] Use strcasecmp() rather than strncasecmp() when determining device node compatibility.
Josh Boyer
jwboyer at linux.vnet.ibm.com
Wed Aug 29 00:33:29 EST 2007
On Mon, 20 Aug 2007 11:36:59 -0500
Scott Wood <scottwood at freescale.com> wrote:
> The current code assumes "foo-bar" must always be compatible with a node
> compatible with "foo", which breaks device trees where this is not so.
>
> The "case" part is also wrong according to Open Firmware, but it's more
> likely to have drivers and/or device trees depending on it, and thus
> needs to be handled more carefully.
After wasting about an hour with git bisect, I finally realized that
this patch "caught" an error in the walnut patches I'm working on (by
making it not boot). So thanks!
josh
More information about the Linuxppc-dev
mailing list