• Emil Goode's avatar
    remoteproc: Fix use of format specifyer · d09f53a7
    Emil Goode authored
    The dma_addr_t type can be either u32 or u64 depending on
    the configuration. We should use a format specifyer for the
    larger type and explicitly cast to it.
    
    Sparse warnings:
    drivers/remoteproc/remoteproc_core.c:234:2: warning:
    	format ‘%x’ expects argument of type ‘unsigned int’,
    	but argument 6 has type ‘dma_addr_t’ [-Wformat]
    
    drivers/remoteproc/remoteproc_core.c:596:2: warning:
    	format ‘%x’ expects argument of type ‘unsigned int’,
    	but argument 5 has type ‘dma_addr_t’ [-Wformat]
    
    drivers/remoteproc/remoteproc_core.c:634:3:
    	warning: format ‘%x’ expects argument of type ‘unsigned int’,
    	but argument 5 has type ‘dma_addr_t’ [-Wformat]
    Signed-off-by: default avatarEmil Goode <emilgoode@gmail.com>
    [fix commit log typos]
    Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
    d09f53a7
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
omap_remoteproc.c Loading commit data...
omap_remoteproc.h Loading commit data...
remoteproc_core.c Loading commit data...
remoteproc_debugfs.c Loading commit data...
remoteproc_elf_loader.c Loading commit data...
remoteproc_internal.h Loading commit data...
remoteproc_virtio.c Loading commit data...
ste_modem_rproc.c Loading commit data...