kernel_samsung_a53x/drivers/remoteproc
Arnd Bergmann 8b34ab59c8 remoteproc: stm32: fix phys_addr_t format string
commit 3e25e407a1c93b53a87a7743ea0cd4703d3985b7 upstream.

A phys_addr_t may be wider than an int or pointer:

drivers/remoteproc/stm32_rproc.c: In function 'stm32_rproc_da_to_pa':
drivers/remoteproc/stm32_rproc.c:583:30: error: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'phys_addr_t' {aka 'long long unsigned int'} [-Werror=format=]
  583 |                 dev_dbg(dev, "da %llx to pa %#x\n", da, *pa);

Print it by reference using the special %pap format string.

Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Fixes: 8a471396d21c ("remoteproc: stm32: Move resource table setup to rproc_ops")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210421140053.3727528-1-arnd@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 08:45:00 +01:00
..
da8xx_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ingenic_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig remoteproc: stm32: use correct format strings on 64-bit 2024-11-19 08:44:58 +01:00
keystone_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_scp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_scp_ipi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_remoteproc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_pil_info.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_pil_info.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_adsp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_mss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_pas.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_wcss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_sysmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_wcnss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_wcnss.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_wcnss_iris.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_cdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_core.c remoteproc: Add new get_loaded_rsc_table() to rproc_ops 2024-11-19 08:44:58 +01:00
remoteproc_coredump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_elf_helpers.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_elf_loader.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_internal.h remoteproc: Add new get_loaded_rsc_table() to rproc_ops 2024-11-19 08:44:58 +01:00
remoteproc_sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_virtio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_slim_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stm32_rproc.c remoteproc: stm32: fix phys_addr_t format string 2024-11-19 08:45:00 +01:00
ti_k3_dsp_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti_k3_r5_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti_sci_proc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wkup_m3_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00