[PATCH] of: fix incorrect return value of of_find_matching_node_and_match()
thomas.abraham at linaro.org
Sun Jan 20 22:48:15 EST 2013
On 20 January 2013 19:27, Rob Herring <robherring2 at gmail.com> wrote:
> On 01/20/2013 03:56 PM, Thomas Abraham wrote:
>> On 20 January 2013 13:50, Rob Herring <robherring2 at gmail.com> wrote:
>>> On 01/19/2013 12:20 PM, Thomas Abraham wrote:
>>>> The of_find_matching_node_and_match() function incorrectly sets the matched
>>>> entry to 'matches' when the compatible value of a node matches one of the
>>>> possible values. This results in incorrectly selecting the the first entry in
>>>> the 'matches' list as the matched entry. Fix this by noting down the result of
>>>> the call to of_match_node() and setting that as the matched entry.
>>> Looks fine, but is this breaking something in 3.8 or can it wait for 3.9?
>> Yes, it can wait for 3.9. I am using this function while adding device
>> tree support for timers on exynos platform which will probably merged
>> in 3.9.
> Applied for 3.9. It's in my for-next branch on sources.calxeda.com. This
> is a stable branch.
Thank you Rob.
More information about the linux-arm-kernel