Re: [PATCH v1 1/3] device property: check fwnode type in to_of_node()
From: Rafael J. Wysocki
Date: Tue Aug 25 2015 - 19:49:47 EST
On Monday, August 10, 2015 07:56:46 PM Andy Shevchenko wrote:
> Potentially one of platform can support both ACPI and OF. In that case when we
> call to_of_node() for non-OF fwnode types we will get non-NULL result, which is
> wrong. Check for the type and return a correspondent result.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Added [1/3] to the 4.3 queue with a minor change in [3/3] (dropped the last
hunk) and the Reviewed-by tags from Mika.
Thanks!
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/