Re: [PATCH] remoteproc: Fix use of format specifyer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 28, 2012 at 5:35 PM, Emil Goode <emilgoode@xxxxxxxxx> wrote:
> The dma_addr_t type can be eigher u32 or u64 depending on
> the configuration. We should use a format specifyer for the
> larges 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: Emil Goode <emilgoode@xxxxxxxxx>

Applied (after fixing some commit log typos), thanks.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux