From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linuxppc-dev@ozlabs.org
Cc: p_gortmaker@yahoo.com
Subject: [PATCH] Fix compile failure in cpm_uart_cpm2
Date: Thu, 15 Feb 2007 12:43:06 -0500 [thread overview]
Message-ID: <20070215174305.GA2820@windriver.com> (raw)
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");
next reply other threads:[~2007-02-15 18:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-15 17:43 Paul Gortmaker [this message]
2007-02-15 20:31 ` [PATCH] Fix compile failure in cpm_uart_cpm2 Vitaly Bordug
2007-02-16 15:14 ` Paul Gortmaker
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=20070215174305.GA2820@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=p_gortmaker@yahoo.com \
/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 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).