From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3DAB42C00A2 for ; Fri, 14 Feb 2014 16:24:38 +1100 (EST) Received: by mail-pb0-f44.google.com with SMTP id rq2so11826057pbb.17 for ; Thu, 13 Feb 2014 21:24:35 -0800 (PST) From: Kevin Hao To: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 0/2] of: fix a regression when trying to find the best compatible match Date: Fri, 14 Feb 2014 13:22:44 +0800 Message-Id: <1392355366-1445-1-git-send-email-haokexin@gmail.com> Cc: Grant Likely , Stephen N Chivers , Rob Herring , Kevin Hao , Sebastian Hesselbarth List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, This fix a regression when trying to find the best compatible match. You can find the detail of the issue reported by Stephen Chivers at: https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-February/115278.html I have made a patch to fix this previously. http://patchwork.ozlabs.org/patch/319624/ This is another respin with the implementation suggested by Rob Herring. Kevin Hao (2): Revert "OF: base: match each node compatible against all given matches first" of: search the best compatible match first in __of_match_node() drivers/of/base.c | 88 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 54 insertions(+), 34 deletions(-) -- 1.8.5.3