From: John Kim <john@larvalstage.com>
To: linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.com
Subject: [PATCH] broken compile fixes for 2.5.5
Date: Tue, 26 Feb 2002 02:22:43 -0500 [thread overview]
Message-ID: <20020226072243.BB00D24B83@larvalstage.com> (raw)
I found few places with missing or broken open and close comment.
This patch applies cleanly to 2.5.5.
John Kim
--- arch/arm/mach-arc/dma.c Tue Feb 19 21:11:04 2002
+++ arch/arm/mach-arc/dma.c Sun Feb 24 21:48:32 2002
@@ -96,7 +96,7 @@
/* 10/1/1999 DAG - Presume whether there is an outstanding command? */
extern unsigned int fdc1772_fdc_int_done;
- * Explicit! If the int done is 0 then 1 int to go */
+ /* Explicit! If the int done is 0 then 1 int to go */
return (fdc1772_fdc_int_done==0)?1:0;
}
--- arch/cris/drivers/lpslave/e100lpslavenet.c Tue Feb 19 21:11:00 2002
+++ arch/cris/drivers/lpslave/e100lpslavenet.c Sun Feb 24 21:49:10 2002
@@ -313,7 +313,7 @@
IO_STATE(R_PAR0_CONFIG, iautofd, noninv) |
/* Not used in reverse direction, don't care */
IO_STATE(R_PAR0_CONFIG, istrb, noninv) |
- /* Not connected, don't care /
+ /* Not connected, don't care */
IO_STATE(R_PAR0_CONFIG, iinit, noninv) |
/* perror is GND and reverse wants 0, noninv */
IO_STATE(R_PAR0_CONFIG, iperr, noninv) |
--- arch/mips/kernel/smp.c Tue Feb 19 21:10:56 2002
+++ arch/mips/kernel/smp.c Sun Feb 24 21:49:56 2002
@@ -156,7 +156,7 @@
sprintf(p->comm, "%s%d", "Idle", i);
init_tasks[i] = p;
p->processor = i;
- p->cpus_runnable = 1 << i; /* we schedule the first task manually *
+ p->cpus_runnable = 1 << i; /* we schedule the first task manually */
del_from_runqueue(p);
unhash_process(p);
/* Attach to the address space of init_task. */
--- arch/mips64/math-emu/cp1emu.c Tue Feb 19 21:10:55 2002
+++ arch/mips64/math-emu/cp1emu.c Sun Feb 24 21:50:34 2002
@@ -29,7 +29,7 @@
* Notes:
* 1) the IEEE754 library (-le) performs the actual arithmetic;
* 2) if you know that you won't have an fpu, then you'll get much
- * better performance by compiling with -msoft-float! */
+ * better performance by compiling with -msoft-float!
*
* Nov 7, 2000
* Massive changes to integrate with Linux kernel.
--- drivers/char/rocket_int.h Tue Feb 19 21:10:56 2002
+++ drivers/char/rocket_int.h Sun Feb 24 21:51:05 2002
@@ -185,7 +185,7 @@
/* Old clock prescale definition and baud rates associated with it */
-#define CLOCK_PRESC 0x19 */ /* mod 9 (divide by 10) prescale */
+#define CLOCK_PRESC 0x19 /* mod 9 (divide by 10) prescale */
#define BRD50 4607
#define BRD75 3071
#define BRD110 2094
--- drivers/char/serial_tx3912.h Tue Feb 19 21:10:57 2002
+++ drivers/char/serial_tx3912.h Sun Feb 24 21:51:34 2002
@@ -24,7 +24,7 @@
#define UART_TXOVERRUN_INT 3 /* transmit overrun error (25, 15) */
#define UART_EMPTY_INT 2 /* both trans/recv regs empty (24, 14) */
#define UART_DMAFULL_INT 1 /* DMA at end of buffer (23, 13) */
-#define UART_DMAHALF_INT 0 /* DMA halfway through buffer */ (22, 12) */
+#define UART_DMAHALF_INT 0 /* DMA halfway through buffer (22, 12) */
#define UARTA_SHIFT 22
#define UARTB_SHIFT 12
--- sound/pci/cs4281.c Tue Feb 19 21:11:01 2002
+++ sound/pci/cs4281.c Sun Feb 24 21:52:06 2002
@@ -268,7 +268,7 @@
#define BA0_SERC1_SO1EN (1<<0) /* Primary Output Port Enable */
#define BA0_SERC2 0x042c /* Serial Port Configuration 2 */
-#define BA0_SERC2_SI1F(x) (((x)&7)>>1) */ Primary Input Port Format */
+#define BA0_SERC2_SI1F(x) (((x)&7)>>1) /* Primary Input Port Format */
#define BA0_SERC2_AC97 (1<<1)
#define BA0_SERC2_SI1EN (1<<0) /* Primary Input Port Enable */
reply other threads:[~2002-02-26 7:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20020226072243.BB00D24B83@larvalstage.com \
--to=john@larvalstage.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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).