diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2025-07-03 13:34:57 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-08 08:29:46 -0700 |
commit | e27dba1951cec8385e20d6700990d819c0de4ba0 (patch) | |
tree | d7b9dc9a0001bb5fc096ffbb122df73bb5da5030 /net/unix/af_unix.c | |
parent | f142028e30ca96cd0f490be7af54a60f59de7a45 (diff) |
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) <robh@kernel.org>
Link: https://patch.msgid.link/20250703183459.2074381-1-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions