]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
misc: fastrpc: Rename phys to dma_addr for clarity
authorKumari Pallavi <kumari.pallavi@oss.qualcomm.com>
Fri, 26 Dec 2025 07:05:32 +0000 (12:35 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Dec 2025 11:17:19 +0000 (12:17 +0100)
commit428b2f2b60c37f69e0723a225135da1f352d2602
tree4da5851d7d297f84186aa148ea4e1576f06b8901
parent53da3f51e491c8aeee25004be9d95c30d5efdf5b
misc: fastrpc: Rename phys to dma_addr for clarity

The fields buf->phys and map->phys currently store DMA addresses
returned by dma_map_*() APIs, not physical addresses. This naming
is misleading and may lead to incorrect assumptions about the
address type and its translation.
Rename these fields from phys to dma_addr to improve code clarity
and align with kernel conventions for dma_addr_t usage.

Signed-off-by: Kumari Pallavi <kumari.pallavi@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20251226070534.602021-3-kumari.pallavi@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/fastrpc.c