Messages in this thread | | | Date | Wed, 12 Aug 2015 14:47:35 +0300 | From | Mika Westerberg <> | Subject | Re: [PATCH v1 1/3] device property: check fwnode type in to_of_node() |
| |
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@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
| |