diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-14 10:06:00 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-15 08:36:01 -0700 |
| commit | c30a45a7e072cd1cb9887daba7446ae653b12801 (patch) | |
| tree | 40634d698b70c113d433cd7774aee674dbb36efc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2f8cc49d869cbfa6f72068774b3de420536c21ac (diff) | |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
