summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-06-07 14:58:49 +0300
committerJakub Kicinski <kuba@kernel.org>2023-06-09 05:19:50 +0300
commit05b606b8845213092b50a855ecf7211caa7c82fa (patch)
treea7fba38dbd4be02fb3e00aee1b6fa97863d7b47a /certs
parent84e476b876d9164af4b965c97eee90fa88204b63 (diff)
downloadlinux-05b606b8845213092b50a855ecf7211caa7c82fa.tar.xz
net: pcs: lynx: change lynx_pcs_create() to return error-pointers
Change lynx_pcs_create() to return an error-pointer on failure to allocate memory, rather than returning NULL. This allows the removal of the conversion in lynx_pcs_create_fwnode() and lynx_pcs_create_mdiodev(). Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions