From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755780AbbHYXtp (ORCPT ); Tue, 25 Aug 2015 19:49:45 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:49226 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751798AbbHYXtn (ORCPT ); Tue, 25 Aug 2015 19:49:43 -0400 From: "Rafael J. Wysocki" To: Andy Shevchenko Cc: "Rafael J . Wysocki" , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Mika Westerberg Subject: Re: [PATCH v1 1/3] device property: check fwnode type in to_of_node() Date: Wed, 26 Aug 2015 02:17:16 +0200 Message-ID: <2252537.uEhOIm9HGQ@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1439225808-132916-1-git-send-email-andriy.shevchenko@linux.intel.com> References: <1439225808-132916-1-git-send-email-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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.