Kernelpatch: multi line string problem in 2.5.14 with gcc3.x
Hi,
this patches fix problems with multi line stings in 2.5.14 /w gcc 3.x
Best regards,
Jens Albers
========== Begin #1 ==========
aic7xxx_linux.c Wed May 8 08:01:24 2002 renamed from aic7xxx_linux.c_2.5.14 Wed May 8 08:00:27 2002 +0 -6
@@ -398,26 +398,26 @@ MODULE_LICENSE("Dual BSD/GPL"); #endif MODULE_PARM(aic7xxx, "s"); -MODULE_PARM_DESC(aic7xxx, "period delimited, options string. - verbose Enable verbose/diagnostic logging - no_probe Disable EISA/VLB controller probing - no_reset Supress initial bus resets - extended Enable extended geometry on all controllers - periodic_otag Send an ordered tagged transaction
periodically
- to prevent tag starvation. This may be
- required by some older disk drives/RAID
arrays.
- reverse_scan Sort PCI devices highest Bus/Slot to lowest - tag_info:<tag_str> Set per-target tag depth - seltime:<int> Selection Timeout(0/256ms,1/128ms,2/64ms,3/32ms) - - Sample /etc/modules.conf line: - Enable verbose logging - Disable EISA/VLB probing - Set tag depth on Controller 2/Target 2 to 10 tags - Shorten the selection timeout to 128ms from its default of 256
-
- options
aic7xxx='\"verbose.no_probe.tag_info:{{}.{}.{..10}}.seltime:1\"' -");
+MODULE_PARM_DESC(aic7xxx, "period delimited, options string."
+" verbose Enable verbose/diagnostic logging" +" no_probe Disable EISA/VLB controller probing" +" no_reset Supress initial bus resets" +" extended Enable extended geometry on all controllers" +" periodic_otag Send an ordered tagged transaction
periodically"
+" to prevent tag starvation. This may be"
+" required by some older disk drives/RAID
arrays."
+" reverse_scan Sort PCI devices highest Bus/Slot to lowest" +" tag_info:<tag_str> Set per-target tag depth" +" seltime:<int> Selection Timeout(0/256ms,1/128ms,2/64ms,3/32ms)" +"" +" Sample /etc/modules.conf line:" +" Enable verbose logging" +" Disable EISA/VLB probing" +" Set tag depth on Controller 2/Target 2 to 10 tags" +" Shorten the selection timeout to 128ms from its default of
256"
+""
+" options
aic7xxx='\"verbose.no_probe.tag_info:{{}.{}.{..10}}.seltime:1\"'" +);
#endif
static void ahc_linux_handle_scsi_status(struct ahc_softc *,
========== End #1 ==========
========== Begin #2 ==========
i2c-core.c Wed May 8 08:32:43 2002 renamed from i2c-core.c_2.5.14 Wed May 8 08:31:40 2002 +2 -4
@@ -381,10 +381,10 @@ printk("i2c-core.o: while " "unregistering driver " "`%s', the client at " - "address %02x of - adapter `%s' could not - be detached; driver - not unloaded!", + "address %02x of " + "adapter `%s' could not
"
+ "be detached; driver "
+ "not unloaded!",
driver->name,
client->addr,
adap->name);========== Begin #2 ==========
Quoted 1 line · J. Albers
this patches fix problems with multi line stings in 2.5.14 /w gcc 3.x
Two things:
1) your mail program is wrapping long lines
2) you need to add explicit linefeeds if you are concatenating the long
strings (i.e. "options string.\n" " verbose ..."
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/