summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@linaro.org>2026-05-15 12:32:26 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2026-05-29 17:02:20 +0300
commit447f406568c153819d6bfce994e422db4e95bb6f (patch)
tree55afa1f6f8b442eb080bbfe901f12ecaf24416b3 /include/linux/workqueue_api.h
parentd5cfe2a96d723b6962c5e38bc81cc9994347d326 (diff)
downloadlinux-447f406568c153819d6bfce994e422db4e95bb6f.tar.xz
firmware: samsung: acpm: Annotate rx_data->cmd with __counted_by_ptr
Rename the `n_cmd` member of `struct acpm_rx_data` to `cmdcnt` to maintain consistent nomenclature across the driver (aligning with `txcnt`, `rxcnt`, and transfer helpers). With the member renamed, annotate the dynamically allocated `cmd` pointer with the `__counted_by_ptr(cmdcnt)` macro to improve runtime bounds checking. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Link: https://patch.msgid.link/20260515-acpm-tmu-helpers-v2-2-8ca011d5a965@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions