* linux-next: build warning in Linus' tree
@ 2011-05-25 0:37 Stephen Rothwell
2011-05-26 7:15 ` Greg KH
2011-05-29 14:12 ` [PATCH] drivers/tty/serial/8250_pci.c: fix warning Antony Pavlov
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Rothwell @ 2011-05-25 0:37 UTC (permalink / raw)
To: Greg KH; +Cc: linux-next, linux-kernel, Antony Pavlov
[-- Attachment #1: Type: text/plain, Size: 461 bytes --]
Hi Greg,
In Linus' tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:
drivers/tty/serial/8250_pci.c:1457: warning: initialization from incompatible pointer type
Introduced by commit d9a0fbfd7bc5 ("serial: 8250_pci: add support for
Cronyx Omega PCI multiserial board").
Sorry that I didn't notice this earlier.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: build warning in Linus' tree
2011-05-25 0:37 linux-next: build warning in Linus' tree Stephen Rothwell
@ 2011-05-26 7:15 ` Greg KH
2011-05-29 14:12 ` [PATCH] drivers/tty/serial/8250_pci.c: fix warning Antony Pavlov
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2011-05-26 7:15 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, linux-kernel, Antony Pavlov
On Wed, May 25, 2011 at 10:37:40AM +1000, Stephen Rothwell wrote:
> Hi Greg,
>
> In Linus' tree, today's linux-next build (powerpc ppc64_defconfig)
> produced this warning:
>
> drivers/tty/serial/8250_pci.c:1457: warning: initialization from incompatible pointer type
>
> Introduced by commit d9a0fbfd7bc5 ("serial: 8250_pci: add support for
> Cronyx Omega PCI multiserial board").
>
> Sorry that I didn't notice this earlier.
Thanks, I'll work on this.
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] drivers/tty/serial/8250_pci.c: fix warning
2011-05-25 0:37 linux-next: build warning in Linus' tree Stephen Rothwell
2011-05-26 7:15 ` Greg KH
@ 2011-05-29 14:12 ` Antony Pavlov
1 sibling, 0 replies; 3+ messages in thread
From: Antony Pavlov @ 2011-05-29 14:12 UTC (permalink / raw)
To: Greg KH; +Cc: linux-next, linux-kernel, Antony Pavlov
Signed-off-by: Antony Pavlov <antony@niisi.msk.ru>
---
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);
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-29 14:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-25 0:37 linux-next: build warning in Linus' tree Stephen Rothwell
2011-05-26 7:15 ` Greg KH
2011-05-29 14:12 ` [PATCH] drivers/tty/serial/8250_pci.c: fix warning Antony Pavlov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).