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

Greg Kroah-Hartman
2015-04-30T14:46:12Z

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@gmail.com>
> ---
> 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 :(