From: Grant Likely <grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Kevin Hao <haokexin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Sebastian Hesselbarth
<sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH v4 0/4] Bugfix for of_match_node ordering
Date: Wed, 19 Feb 2014 14:14:46 +0000 [thread overview]
Message-ID: <1392819290-1044-1-git-send-email-grant.likely@linaro.org> (raw)
Hi all,
I've taken Kevin's latest rework and done even more rework on it. :-) I
didn't quite like how it was looking so I rolled his scoring code
directly into __of_device_is_compatible() so that the function always
returns a score in a way that is still compatible with the existing
users (ie. non-zero == successful match). This eliminates the need for a
separate pscore argument and it also let me roll the type and name
checks into the same function. I'm a lot happier with it overall and it
makes for a slightly smaller number of lines of code changed. Please
take a look and give it a spin. This is basically a bug fix so I'll need
to push it out to Linus in the near future.
Acks and Tested-bys would be particularly appreciated.
Thanks,
g.
Kevin Hao (2):
Revert "of: search the best compatible match first in __of_match_node()"
of: reimplement the matching method for __of_match_node()
Grant Likely (2):
of: Move testcase FDT data into drivers/of
of: Add self test for of_match_node()
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2014-02-19 14:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 14:14 Grant Likely [this message]
[not found] ` < 1392819290-1044-3-git-send-email-grant.likely@linaro.org>
[not found] ` < CAK9yfHwwmZkFMRvxsxjBAfUbVXU3V+iPFDZO=DwQsFvJ3NQyKA@mail.gmail.com>
2014-02-19 14:14 ` [PATCH v4 1/4] Revert "of: search the best compatible match first in __of_match_node()" Grant Likely
2014-02-19 14:14 ` [PATCH v4 2/4] of: reimplement the matching method for __of_match_node() Grant Likely
2014-02-19 14:54 ` Rob Herring
2014-02-19 15:34 ` Grant Likely
2014-02-19 14:14 ` [PATCH v4 3/4] of: Move testcase FDT data into drivers/of Grant Likely
2014-02-19 14:14 ` [PATCH v4 4/4] of: Add self test for of_match_node() Grant Likely
[not found] ` <1392819290-1044-1-git-send-email-grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-02-20 8:39 ` [PATCH v4 0/4] Bugfix for of_match_node ordering Sachin Kamat
2014-02-20 10:12 ` Kevin Hao
2014-02-20 10:27 ` Sachin Kamat
2014-02-20 10:55 ` Kevin Hao
2014-02-20 11:13 ` Sachin Kamat
2014-02-20 11:53 ` Grant Likely
2014-02-20 11:29 ` Grant Likely
[not found] ` <CACxGe6sg7FpJqAUjkU5DkUpiV_mDbtSV3RETtiQdACUXhRtRrg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-21 1:22 ` Sören Brinkmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1392819290-1044-1-git-send-email-grant.likely@linaro.org \
--to=grant.likely-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=haokexin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).