* [PATCH] Fix compile failure in cpm_uart_cpm2
@ 2007-02-15 17:43 Paul Gortmaker
2007-02-15 20:31 ` Vitaly Bordug
0 siblings, 1 reply; 3+ messages in thread
From: Paul Gortmaker @ 2007-02-15 17:43 UTC (permalink / raw)
To: linuxppc-dev; +Cc: p_gortmaker
Fix bug that exists in kernel.org since 2.6.17rc4 - compiles fail if
CONFIG_SERIAL_CPM_SMC is defined. Tested on a board using SMC1 console.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
--- linux-2.6.20/drivers/serial/cpm_uart/cpm_uart_cpm2.c~ 2007-02-07 14:07:47.778573326 -0500
+++ linux-2.6.20/drivers/serial/cpm_uart/cpm_uart_cpm2.c 2007-02-07 14:07:58.248391885 -0500
@@ -285,7 +285,7 @@
int __init cpm_uart_init_portdesc(void)
{
#if defined(CONFIG_SERIAL_CPM_SMC1) || defined(CONFIG_SERIAL_CPM_SMC2)
- u32 addr;
+ u16 *addr;
#endif
pr_debug("CPM uart[-]:init portdesc\n");
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix compile failure in cpm_uart_cpm2
2007-02-15 17:43 [PATCH] Fix compile failure in cpm_uart_cpm2 Paul Gortmaker
@ 2007-02-15 20:31 ` Vitaly Bordug
2007-02-16 15:14 ` Paul Gortmaker
0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Bordug @ 2007-02-15 20:31 UTC (permalink / raw)
To: Paul Gortmaker; +Cc: linuxppc-dev, p_gortmaker
On Thu, 15 Feb 2007 12:43:06 -0500
Paul Gortmaker wrote:
> Fix bug that exists in kernel.org since 2.6.17rc4 - compiles fail if
> CONFIG_SERIAL_CPM_SMC is defined. Tested on a board using SMC1
> console.
>
This has been submitted already by Heiko Schocher <hs@denx.de>, sorry...
Anyway, got to be fixed soon.
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> ---
>
> --- linux-2.6.20/drivers/serial/cpm_uart/cpm_uart_cpm2.c~
> 2007-02-07 14:07:47.778573326 -0500 +++
> linux-2.6.20/drivers/serial/cpm_uart/cpm_uart_cpm2.c
> 2007-02-07 14:07:58.248391885 -0500 @@ -285,7 +285,7 @@ int __init
> cpm_uart_init_portdesc(void) {
> #if defined(CONFIG_SERIAL_CPM_SMC1) ||
> defined(CONFIG_SERIAL_CPM_SMC2)
> - u32 addr;
> + u16 *addr;
> #endif
> pr_debug("CPM uart[-]:init portdesc\n");
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix compile failure in cpm_uart_cpm2
2007-02-15 20:31 ` Vitaly Bordug
@ 2007-02-16 15:14 ` Paul Gortmaker
0 siblings, 0 replies; 3+ messages in thread
From: Paul Gortmaker @ 2007-02-16 15:14 UTC (permalink / raw)
To: Vitaly Bordug; +Cc: linuxppc-dev, p_gortmaker
In message: Re: [PATCH] Fix compile failure in cpm_uart_cpm2
on 15/02/2007 Vitaly Bordug wrote:
> On Thu, 15 Feb 2007 12:43:06 -0500
> Paul Gortmaker wrote:
>
> > Fix bug that exists in kernel.org since 2.6.17rc4 - compiles fail if
> > CONFIG_SERIAL_CPM_SMC is defined. Tested on a board using SMC1
> > console.
> >
>
> This has been submitted already by Heiko Schocher <hs@denx.de>, sorry...
> Anyway, got to be fixed soon.
Hi Vitaly,
Thanks for the reference; I'd not seen Heiko's patch. I see it is in git
already this morning as well.
Paul.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-16 15:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-15 17:43 [PATCH] Fix compile failure in cpm_uart_cpm2 Paul Gortmaker
2007-02-15 20:31 ` Vitaly Bordug
2007-02-16 15:14 ` Paul Gortmaker
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).