summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-04-14 12:06:00 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-15 18:36:01 +0300
commitc30a45a7e072cd1cb9887daba7446ae653b12801 (patch)
tree40634d698b70c113d433cd7774aee674dbb36efc /include/linux
parent2f8cc49d869cbfa6f72068774b3de420536c21ac (diff)
downloadlinux-c30a45a7e072cd1cb9887daba7446ae653b12801.tar.xz
net: stmmac: anarion: clean up anarion_config_dt() error handling
When enabled, print a user friendly description of the error when failing to ioremap() the control resource, and use ERR_CAST() when propagating the error. This allows us to get rid of the "err" local variable in anarion_config_dt(). Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1u4FlQ-000XjA-2V@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions