diff options
| author | Rob Herring (Arm) <[email protected]> | 2025-07-03 18:34:57 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-08 15:29:46 +0000 |
| commit | e27dba1951cec8385e20d6700990d819c0de4ba0 (patch) | |
| tree | d7b9dc9a0001bb5fc096ffbb122df73bb5da5030 /net/unix/af_unix.c | |
| parent | gve: global: fix "for a while" typo (diff) | |
| download | kernel-e27dba1951cec8385e20d6700990d819c0de4ba0.tar.gz kernel-e27dba1951cec8385e20d6700990d819c0de4ba0.zip | |
net: Use of_reserved_mem_region_to_resource{_byname}() for "memory-region"
Use the newly added of_reserved_mem_region_to_resource{_byname}()
functions to handle "memory-region" properties.
The error handling is a bit different for mtk_wed_mcu_load_firmware().
A failed match of the "memory-region-names" would skip the entry, but
then other errors in the lookup and retrieval of the address would not
skip the entry. However, that distinction is not really important.
Either the region is available and usable or it is not. So now, errors
from of_reserved_mem_region_to_resource() are ignored so the region is
simply skipped.
Signed-off-by: Rob Herring (Arm) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
