From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: linux-sh@vger.kernel.org, linux-serial@vger.kernel.org
Subject: Re: [PATCH] serial: sh-sci: Fix warnings due to improper casts and printk formats
Date: Tue, 03 Dec 2013 18:45:57 +0000 [thread overview]
Message-ID: <20131203184557.GF23280@kroah.com> (raw)
In-Reply-To: <1385512118-10219-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>
On Wed, Nov 27, 2013 at 01:28:38AM +0100, Laurent Pinchart wrote:
> Use the %zu printk specifier to print size_t variables, and cast
> pointers to unsigned long 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 <gregkh@linuxfoundation.org>
> Cc: linux-serial@vger.kernel.org
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> drivers/tty/serial/sh-sci.c | 19 ++++++++++---------
> 1 file changed, 10 insertions(+), 9 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: linux-sh@vger.kernel.org, linux-serial@vger.kernel.org
Subject: Re: [PATCH] serial: sh-sci: Fix warnings due to improper casts and printk formats
Date: Tue, 3 Dec 2013 10:45:57 -0800 [thread overview]
Message-ID: <20131203184557.GF23280@kroah.com> (raw)
In-Reply-To: <1385512118-10219-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>
On Wed, Nov 27, 2013 at 01:28:38AM +0100, Laurent Pinchart wrote:
> Use the %zu printk specifier to print size_t variables, and cast
> pointers to unsigned long 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 <gregkh@linuxfoundation.org>
> Cc: linux-serial@vger.kernel.org
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> drivers/tty/serial/sh-sci.c | 19 ++++++++++---------
> 1 file changed, 10 insertions(+), 9 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
next prev parent reply other threads:[~2013-12-03 18:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-27 0:28 [PATCH] serial: sh-sci: Fix warnings due to improper casts and printk formats Laurent Pinchart
2013-11-27 0:28 ` Laurent Pinchart
2013-12-03 18:45 ` Greg Kroah-Hartman [this message]
2013-12-03 18:45 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131203184557.GF23280@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-serial@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.