All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Johan Hovold <johan@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org, sparclinux@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] USB: serial: cp210x: Use tcflag_t to fix incompatible pointer type
Date: Mon, 21 Nov 2016 14:58:45 +0000	[thread overview]
Message-ID: <20161121145845.GA27409@localhost> (raw)
In-Reply-To: <1479730771-17759-1-git-send-email-geert@linux-m68k.org>

On Mon, Nov 21, 2016 at 01:19:31PM +0100, Geert Uytterhoeven wrote:
> On sparc32, tcflag_t is unsigned long, unlike all other architectures:
> 
>     drivers/usb/serial/cp210x.c: In function 'cp210x_get_termios':
>     drivers/usb/serial/cp210x.c:717:3: warning: passing argument 2 of 'cp210x_get_termios_port' from incompatible pointer type
>        cp210x_get_termios_port(tty->driver_data,
>        ^
>     drivers/usb/serial/cp210x.c:35:13: note: expected 'unsigned int *' but argument is of type 'tcflag_t *'
>      static void cp210x_get_termios_port(struct usb_serial_port *port,
> 		 ^
> 
> Consistently use tcflag_t to fix this.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Applied for -next as this an old warning for something that should be
benign on 32-bit.

Thanks,
Johan

WARNING: multiple messages have this Message-ID (diff)
From: Johan Hovold <johan@kernel.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Johan Hovold <johan@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org, sparclinux@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] USB: serial: cp210x: Use tcflag_t to fix incompatible pointer type
Date: Mon, 21 Nov 2016 15:58:45 +0100	[thread overview]
Message-ID: <20161121145845.GA27409@localhost> (raw)
In-Reply-To: <1479730771-17759-1-git-send-email-geert@linux-m68k.org>

On Mon, Nov 21, 2016 at 01:19:31PM +0100, Geert Uytterhoeven wrote:
> On sparc32, tcflag_t is unsigned long, unlike all other architectures:
> 
>     drivers/usb/serial/cp210x.c: In function 'cp210x_get_termios':
>     drivers/usb/serial/cp210x.c:717:3: warning: passing argument 2 of 'cp210x_get_termios_port' from incompatible pointer type
>        cp210x_get_termios_port(tty->driver_data,
>        ^
>     drivers/usb/serial/cp210x.c:35:13: note: expected 'unsigned int *' but argument is of type 'tcflag_t *'
>      static void cp210x_get_termios_port(struct usb_serial_port *port,
> 		 ^
> 
> Consistently use tcflag_t to fix this.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Applied for -next as this an old warning for something that should be
benign on 32-bit.

Thanks,
Johan

  reply	other threads:[~2016-11-21 14:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21 12:19 [PATCH] USB: serial: cp210x: Use tcflag_t to fix incompatible pointer type Geert Uytterhoeven
2016-11-21 12:19 ` Geert Uytterhoeven
2016-11-21 14:58 ` Johan Hovold [this message]
2016-11-21 14:58   ` Johan Hovold

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=20161121145845.GA27409@localhost \
    --to=johan@kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sparclinux@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.