From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753213AbcD0HaG (ORCPT ); Wed, 27 Apr 2016 03:30:06 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:35791 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829AbcD0HaE (ORCPT ); Wed, 27 Apr 2016 03:30:04 -0400 Date: Wed, 27 Apr 2016 16:31:36 +0900 From: Sergey Senozhatsky To: Thierry Reding Cc: Kishon Vijay Abraham I , Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: linux-next: Tree for Apr 27 Message-ID: <20160427073136.GB7601@swordfish> References: <20160427170354.5c643779@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160427170354.5c643779@canb.auug.org.au> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, commit 2f7600bc981cb0fd7ea0b92618bae32dcc778317 Author: Thierry Reding Date: Tue Apr 5 17:17:34 2016 +0200 phy: core: Allow children node to be overridden In order to more flexibly support device tree bindings, allow drivers to override the container of the child nodes. By default the device node of the PHY provider is assumed to be the parent for children, but bindings may decide to add additional levels for better organization. this does not compile on !CONFIG_OF systems drivers/phy/phy-core.c: In function ‘__of_phy_provider_register’: drivers/phy/phy-core.c:848:13: error: implicit declaration of function ‘of_get_next_parent’ [-Werror=implicit-function-declaration] parent = of_get_next_parent(parent); ^~~~~~~~~~~~~~~~~~ drivers/phy/phy-core.c:848:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] parent = of_get_next_parent(parent); ^ CC [M] drivers/net/usb/usbnet.o cc1: some warnings being treated as errors CC net/ipv4/proc.o scripts/Makefile.build:289: recipe for target 'drivers/phy/phy-core.o' failed make[2]: *** [drivers/phy/phy-core.o] Error 1 scripts/Makefile.build:440: recipe for target 'drivers/phy' failed make[1]: *** [drivers/phy] Error 2 make[1]: *** Waiting for unfinished jobs.... -ss