devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Bugfix for of_match_node ordering
@ 2014-02-19 14:14 Grant Likely
       [not found] ` < CAK9yfHwwmZkFMRvxsxjBAfUbVXU3V+iPFDZO=DwQsFvJ3NQyKA@mail.gmail.com>
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Grant Likely @ 2014-02-19 14:14 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Kevin Hao, Rob Herring, Sebastian Hesselbarth

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-02-21  1:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-19 14:14 [PATCH v4 0/4] Bugfix for of_match_node ordering Grant Likely
     [not found] ` < CAK9yfHwwmZkFMRvxsxjBAfUbVXU3V+iPFDZO=DwQsFvJ3NQyKA@mail.gmail.com>
     [not found] ` < 1392819290-1044-3-git-send-email-grant.likely@linaro.org>
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

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).