[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200515.101927.562090553428345383.davem@davemloft.net>
Date: Fri, 15 May 2020 10:19:27 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tobias@...dekranz.com
Cc: netdev@...r.kernel.org, f.fainelli@...il.com, andrew@...n.ch
Subject: Re: [PATCH net-next] net: core: recursively find netdev by device
node
From: Tobias Waldekranz <tobias@...dekranz.com>
Date: Fri, 15 May 2020 11:52:52 +0200
> The assumption that a device node is associated either with the
> netdev's device, or the parent of that device, does not hold for all
> drivers. E.g. Freescale's DPAA has two layers of platform devices
> above the netdev. Instead, recursively walk up the tree from the
> netdev, allowing any parent to match against the sought after node.
>
> Signed-off-by: Tobias Waldekranz <tobias@...dekranz.com>
Applied, thanks Tobias.
Powered by blists - more mailing lists