All of lore.kernel.org
 help / color / mirror / Atom feed
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 v2] serial: sh-sci: Fix warnings due to improper casts and printk formats
Date: Tue, 03 Dec 2013 18:45:15 +0000	[thread overview]
Message-ID: <20131203184515.GD23280@kroah.com> (raw)
In-Reply-To: <1385547037-13422-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

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 <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 v2] serial: sh-sci: Fix warnings due to improper casts and printk formats
Date: Tue, 3 Dec 2013 10:45:15 -0800	[thread overview]
Message-ID: <20131203184515.GD23280@kroah.com> (raw)
In-Reply-To: <1385547037-13422-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

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 <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>

  parent reply	other threads:[~2013-12-03 18:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27 10:10 [PATCH v2] serial: sh-sci: Fix warnings due to improper casts and printk formats Laurent Pinchart
2013-11-27 10:10 ` Laurent Pinchart
2013-11-28  7:27 ` Simon Horman
2013-11-28  7:27   ` Simon Horman
2013-11-28 14:00   ` Laurent Pinchart
2013-11-28 14:00     ` Laurent Pinchart
2013-11-29  0:12     ` Simon Horman
2013-11-29  0:12       ` Simon Horman
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=20131203184515.GD23280@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.