diff options
| author | 2026-05-06 10:31:04 +0530 | |
|---|---|---|
| committer | 2026-05-25 09:39:07 -0600 | |
| commit | 49abb5d6e1ac8169cdfc0c3aa4408e0d90ee5696 (patch) | |
| tree | 797312257fd12226a05c4ff17bbc2f39b0420e39 /tools/lib/python/kdoc/python_version.py | |
| parent | remoteproc: Move resource table data structure to its own header (diff) | |
remoteproc: use rsc_table_for_each_entry() in rproc_handle_resources()
Replace the open-coded resource table iteration loop in
rproc_handle_resources() with the rsc_table_for_each_entry() helper.
The remoteproc-specific dispatch logic (vendor resource handling via
rproc_handle_rsc(), RSC_LAST bounds check, handler table lookup) is
moved into a local callback rproc_handle_rsc_entry(), keeping the
iteration mechanics in one canonical place.
The callback receives the payload offset within the table so that
handlers which write back into the resource table (e.g.
rproc_handle_carveout() recording a dynamically allocated address via
rsc_offset) continue to work correctly.
No functional change.
Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260506050107.1985033-3-mukesh.ojha@oss.qualcomm.com
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
