From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752487AbbD3OqM (ORCPT ); Thu, 30 Apr 2015 10:46:12 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43270 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751360AbbD3OkG (ORCPT ); Thu, 30 Apr 2015 10:40:06 -0400 Date: Thu, 30 Apr 2015 16:40:01 +0200 From: Greg Kroah-Hartman To: Marcus Folkesson Cc: Thomas Petazzoni , noralf@tronnes.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] staging: fbtft: fix all print warnings reported by sparse Message-ID: <20150430144001.GA13321@kroah.com> References: <1428435109-5439-1-git-send-email-marcus.folkesson@gmail.com> <1428673550-5890-1-git-send-email-marcus.folkesson@gmail.com> <1428673550-5890-2-git-send-email-marcus.folkesson@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1428673550-5890-2-git-send-email-marcus.folkesson@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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 :(