Thread (1 message) 1 message, 1 author, 2014-02-12

Re: Linux-3.14-rc2: Order of serial node compatibles in DTS files.

From: Kevin Hao <hidden>
Date: 2014-02-12 10:35:50
Also in: linux-devicetree

On Wed, Feb 12, 2014 at 09:25:24AM +0100, Sebastian Hesselbarth wrote:
Hmm, I did a mistake in the patch:

-	while (m->name[0] || m->type[0]) {
+	while (m->compatible[0] || m->name[0] || m->type[0]) {

for the second added match. Otherwise, the matches are not
evaluated down to the sentinel but the loop quits on the first
match table entry without .name and .type set.
But this is still not right. We also need to skip the matches with
.compatible here.

Thanks,
Kevin
Sebastian
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Attachments

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