Re: [PATCH V2] staging: fbtft: fix all print warnings reported by sparse

From: Greg Kroah-Hartman
Date: Thu Apr 30 2015 - 10:46:44 EST


On Fri, Apr 10, 2015 at 03:45:50PM +0200, Marcus Folkesson wrote:
> Warnings reported by sparse:
>
> drivers/staging/fbtft/fbtft-core.c:1004:4: warning: format â%dâ expects
> argument of type âintâ, but argument 3 has type âsize_tâ [-Wformat=]
> par->txbuf.len >> 10, par->txbuf.dma ? "DMA " : "");
>
> drivers/staging/fbtft/fbtft-io.c:63:4: warning: format â%dâ expects
> argument of type âintâ, but argument 4 has type âsize_tâ [-Wformat=]
> __func__, len);
>
> drivers/staging/fbtft/fbtft-io.c:110:5: warning: format â%dâ expects
> argument of type âintâ, but argument 4 has type âsize_tâ [-Wformat=]
> __func__, len);
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson@xxxxxxxxx>
> ---
> drivers/staging/fbtft/fbtft-core.c | 2 +-
> drivers/staging/fbtft/fbtft-io.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)

Doesn't apply to my tree :(
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/