Re: [PATCH 3/4] Use strcasecmp() rather than strncasecmp() when determining device node compatibility.
From: Josh Boyer <hidden>
Date: 2007-08-28 14:33:37
From: Josh Boyer <hidden>
Date: 2007-08-28 14:33:37
On Mon, 20 Aug 2007 11:36:59 -0500 Scott Wood [off-list ref] 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