summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-12-10 11:28:12 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2020-01-27 10:33:16 +0000
commit4674a12b650d2a824ab130222bd04eecaa69a9de (patch)
treec154b267ba4a9721799764097e4f54d1d60c13bf /security
parentf34c325b8d3bc87d564f8573327d185c0aa119af (diff)
net: phylink: propagate phy_attach_direct() return code
of_phy_attach() hides the return value of phy_attach_direct(), forcing us to return a "generic" ENODEV error code that is indistinguishable from the lack-of-phy-property case. Switch to using of_phy_find_device() to find the PHY device, and then propagating any phy_attach_direct() error back to the caller. Link: https://lore.kernel.org/lkml/20191210113829.GT25745@shell.armlinux.org.uk Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions