[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110607072617.GB21263@liondog.tnic>
Date: Tue, 7 Jun 2011 09:26:17 +0200
From: Borislav Petkov <bp@...en8.de>
To: Greg KH <greg@...ah.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Antony Pavlov <antony@...si.msk.ru>,
Greg Kroah-Hartman <gregkh@...e.de>
Subject: Re: [PATCH] 8250_pci: Fix build warning
Hey Greg,
can you please pick this one up - warning is still present in -rc2 so it
looks like no one else fixed it yet :).
Thanks.
On Mon, May 30, 2011 at 11:52:54AM +0200, Borislav Petkov wrote:
> Fix
>
> drivers/tty/serial/8250_pci.c:1457: warning: initialization from incompatible pointer type
>
> by constifying the serial board :).
>
> Cc: Antony Pavlov <antony@...si.msk.ru>
> Cc: Greg Kroah-Hartman <gregkh@...e.de>
> Signed-off-by: Borislav Petkov <bp@...en8.de>
> ---
> drivers/tty/serial/8250_pci.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/tty/serial/8250_pci.c b/drivers/tty/serial/8250_pci.c
> index 4b4968a..c9c9e6f 100644
> --- a/drivers/tty/serial/8250_pci.c
> +++ b/drivers/tty/serial/8250_pci.c
> @@ -973,8 +973,8 @@ ce4100_serial_setup(struct serial_private *priv,
>
> static int
> pci_omegapci_setup(struct serial_private *priv,
> - struct pciserial_board *board,
> - struct uart_port *port, int idx)
> + const struct pciserial_board *board,
> + struct uart_port *port, int idx)
> {
> return setup_port(priv, port, 2, idx * 8, 0);
> }
> --
> 1.7.5.rc1.16.g9db1
>
>
--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists