lkml.org 
[lkml]   [2004]   [Mar]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
FromOliver Neukum <>
Subjectcompilation error in cdu31a
DateWed, 17 Mar 2004 16:20:19 +0100
Hi,

cdu31a doesn't compile. It looks like a simple oversight.

	Regards
		Oliver

You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.
===================================================================

ChangeSet@1.1179, 2004-03-17 16:02:41+01:00, oliver@vermuden.neukum.org
  - fix syntax error


 cdu31a.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -Nru a/drivers/cdrom/cdu31a.c b/drivers/cdrom/cdu31a.c
--- a/drivers/cdrom/cdu31a.c	Wed Mar 17 16:19:34 2004
+++ b/drivers/cdrom/cdu31a.c	Wed Mar 17 16:19:34 2004
@@ -3315,7 +3315,7 @@
 	unsigned int res_size;
 	char msg[255];
 	char buf[40];
-	int i;
+	int i, tmp_irq;
 
 	/*
 	 * According to Alex Freed (freed@europa.orion.adobe.com), this is
@@ -3335,7 +3335,7 @@
 
 	if (cdu31a_port != 0) {
 		/* Need IRQ 0 because we can't sleep here. */
-		int tmp_irq = cdu31a_irq;
+		tmp_irq = cdu31a_irq;
 		cdu31a_irq = 0;
 		if (!get_drive_configuration(cdu31a_port,
 					    drive_config.exec_status,
@@ -3487,4 +3487,4 @@
 module_exit(cdu31a_exit);
 
 MODULE_LICENSE("GPL");
-MODULE_ALIAS_BLOCKDEV_MAJOR(CDU31A_CDROM_MAJOR);
+MODULE_ALIAS_BLOCKDEV_MAJOR(CDU31A_CDROM_MAJOR);
\ No newline at end of file
===================================================================

This BitKeeper patch contains the following changesets:
1.1179
## Wrapped with gzip_uu ##


begin 664 bkpatch20543
M'XL(`(9L6$```[U4:V^;,!3]C'_%E?IE4P?XVN81*J:D2;1U398H7?9EFB(*
M3H,2(#/0M1(_?LZC[3:US5Z:L;C(YW!][O61CV!:2A48Q2J]EHH<P=NBK`)#
M?V=U(G,KE_6RSJQ"76EL4A0:LQ=%)NW=#_8')65IK]*\+DUF.42SQE$5+T"#
M96"@Q>]7JMNU#(Q)_\UTT)D0$H;0743YE;R0%80AJ0IU':V2LAU5BU616Y6*
M\C*3563%1=;<4QM&*=./@QZGCMN@2X77Q)@@1@)E0IGP74%V\MJ/U/%C*D$Y
M>L@=SEN-2WU$T@.T$+T64&%3;J,'Z`:4!0*/*0:4PM.IX1C!I.04_FTM71*#
M"?/T!LK;O(IN0"I5*'(.+B(R,G[H(S%_<Q!"(TI>'Q"<J$W%I1TGJLCTN^:H
M@>_4"XJTX<QI.<V<2E<7PRX='DOA/].M9]+N3L6AC(F&,D^(K5T>YQ_VSE_(
M)]%RG;6+,EEM%'^ZV^?S`>TN.N@S7VMGGK=UE,"?_<3$+_B)@\G_GY^VG1Z!
MJ;YNI[;'^(FF_X'1>IRC#TC.]M%(\PK25U!EZUFJOIQL"'Q/V$;#V$,0PF[?
M.YYH48V_W\?AJ#<=]&>=P5GG8G8Z&'7/>_V/LV'GW6CRHMN;<NS,NKW):+A;
=>GGR<$?%"QDORSH+*9][SF5K3KX!#=7SH`\%````
`
end
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:01    [from the cache]
©2003-2008