* [PATCH] serial: fix warning in 8250_pci
@ 2011-06-13 11:48 Konstantin Khlebnikov
2011-06-13 11:56 ` Wanlong Gao
0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Khlebnikov @ 2011-06-13 11:48 UTC (permalink / raw)
To: Greg Kroah-Hartman, linux-kernel
fix trivial "initialization from incompatible pointer type" warning
introduced by v2.6.39-rc4-48-gd9a0fbf
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
---
drivers/tty/serial/8250_pci.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/tty/serial/8250_pci.c b/drivers/tty/serial/8250_pci.c
index 4b4968a..78e98a5 100644
--- a/drivers/tty/serial/8250_pci.c
+++ b/drivers/tty/serial/8250_pci.c
@@ -973,7 +973,7 @@ ce4100_serial_setup(struct serial_private *priv,
static int
pci_omegapci_setup(struct serial_private *priv,
- struct pciserial_board *board,
+ const struct pciserial_board *board,
struct uart_port *port, int idx)
{
return setup_port(priv, port, 2, idx * 8, 0);
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] serial: fix warning in 8250_pci
2011-06-13 11:48 [PATCH] serial: fix warning in 8250_pci Konstantin Khlebnikov
@ 2011-06-13 11:56 ` Wanlong Gao
0 siblings, 0 replies; 2+ messages in thread
From: Wanlong Gao @ 2011-06-13 11:56 UTC (permalink / raw)
To: Konstantin Khlebnikov; +Cc: Greg Kroah-Hartman, linux-kernel
On 6/13/11, Konstantin Khlebnikov <khlebnikov@openvz.org> wrote:
> fix trivial "initialization from incompatible pointer type" warning
> introduced by v2.6.39-rc4-48-gd9a0fbf
>
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
> ---
> drivers/tty/serial/8250_pci.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/tty/serial/8250_pci.c b/drivers/tty/serial/8250_pci.c
> index 4b4968a..78e98a5 100644
> --- a/drivers/tty/serial/8250_pci.c
> +++ b/drivers/tty/serial/8250_pci.c
> @@ -973,7 +973,7 @@ ce4100_serial_setup(struct serial_private *priv,
>
> static int
> pci_omegapci_setup(struct serial_private *priv,
> - struct pciserial_board *board,
> + const struct pciserial_board *board,
> struct uart_port *port, int idx)
> {
> return setup_port(priv, port, 2, idx * 8, 0);
>
It's already in greg's tree.
http://git.kernel.org/?p=linux/kernel/git/gregkh/tty-2.6.git;a=commitdiff;h=1798ca13bfae8cc7c0ef82c034c3c4951ecaeb88
Thanks
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-13 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-13 11:48 [PATCH] serial: fix warning in 8250_pci Konstantin Khlebnikov
2011-06-13 11:56 ` Wanlong Gao
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.