From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Date: Tue, 03 Dec 2013 18:45:15 +0000 Subject: Re: [PATCH v2] serial: sh-sci: Fix warnings due to improper casts and printk formats Message-Id: <20131203184515.GD23280@kroah.com> List-Id: References: <1385547037-13422-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> In-Reply-To: <1385547037-13422-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Laurent Pinchart Cc: linux-sh@vger.kernel.org, linux-serial@vger.kernel.org On Wed, Nov 27, 2013 at 11:10:37AM +0100, Laurent Pinchart wrote: > Use the %zu printk specifier to print size_t variables, and cast > pointers to uintptr_t instead of unsigned int where applicable. This > fixes warnings on platforms where pointers and/or dma_addr_t have a > different size than int. > > Cc: Greg Kroah-Hartman > Cc: linux-serial@vger.kernel.org > Signed-off-by: Laurent Pinchart > --- > drivers/tty/serial/sh-sci.c | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-) Acked-by: Greg Kroah-Hartman