Re: [PATCH v1 1/3] device property: check fwnode type in to_of_node()
From: Mika Westerberg
Date: Wed Aug 12 2015 - 07:47:49 EST
On Mon, Aug 10, 2015 at 07:56:46PM +0300, 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>
Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
--
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/