Skip to contentSkip to conversation

remoteproc: omap: add comment for is_iomem

PATCH In review Peng Fan (OSS) 2 participants 2 messages Feb 17, 2025 – Feb 24, 2025 Remote processor (remoteproc)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remoteproc: omap: add comment for is_iomem

From: Peng Fan <[email protected]>

Address warning: "Function parameter or struct member 'is_iomem' not described in 'omap_rproc_da_to_va'" with adding comment for is_iomem.

---
 drivers/remoteproc/omap_remoteproc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/remoteproc/omap_remoteproc.c +1 -0
index 5f463937cbbf..9c7182b3b038 100644
@@ -724,6 +724,7 @@ static int omap_rproc_stop(struct rproc *rproc)
  * @rproc: remote processor to apply the address translation for
  * @da: device address to translate
  * @len: length of the memory buffer
+ * @is_iomem: pointer filled in to indicate if @da is iomapped memory
  *
  * Custom function implementing the rproc .da_to_va ops to provide address
  * translation (device address to kernel virtual address) for internal RAMs
Signature · 1 line
2.37.1
maintainer
#1 lore raw
Quoted 5 lines · Peng Fan (OSS)

From: Peng Fan <[email protected]>

Address warning: "Function parameter or struct member 'is_iomem' not described in 'omap_rproc_da_to_va'" with adding comment for is_iomem.

Quoted 8 lines
---
 drivers/remoteproc/omap_remoteproc.c | 1 +
 1 file changed, 1 insertion(+)

Applied - thanks,
Mathieu

Quoted 15 lines
drivers/remoteproc/omap_remoteproc.c +1 -0
index 5f463937cbbf..9c7182b3b038 100644
@@ -724,6 +724,7 @@ static int omap_rproc_stop(struct rproc *rproc)
  * @rproc: remote processor to apply the address translation for
  * @da: device address to translate
  * @len: length of the memory buffer
+ * @is_iomem: pointer filled in to indicate if @da is iomapped memory
  *
  * Custom function implementing the rproc .da_to_va ops to provide address
  * translation (device address to kernel virtual address) for internal RAMs
Signature · 1 line
2.37.1