summaryrefslogtreecommitdiff
path: root/include/uapi/linux/string.h
diff options
context:
space:
mode:
authorMukesh Ojha <mukesh.ojha@oss.qualcomm.com>2026-05-06 08:01:04 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2026-05-25 18:39:07 +0300
commit49abb5d6e1ac8169cdfc0c3aa4408e0d90ee5696 (patch)
tree797312257fd12226a05c4ff17bbc2f39b0420e39 /include/uapi/linux/string.h
parent0590420c2f90de497d342c9a41a618f46f4d09ab (diff)
downloadlinux-49abb5d6e1ac8169cdfc0c3aa4408e0d90ee5696.tar.xz
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 'include/uapi/linux/string.h')
0 files changed, 0 insertions, 0 deletions