Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1388727

Re: linux-next: Tree for Apr 27

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: linux-next: Tree for Apr 27
Date 2016-04-27 09:40 +0200
Message-ID <rsseK-5Lj-17@gated-at.bofh.it> (permalink)
References <rsrLH-5uN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

commit 2f7600bc981cb0fd7ea0b92618bae32dcc778317
Author: Thierry Reding <treding@nvidia.com>
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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

linux-next: Tree for Apr 27 Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-27 09:10 +0200
  Re: linux-next: Tree for Apr 27 Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-04-27 09:40 +0200

csiph-web