Skip to contentSkip to conversation

Kill superfluos newline in dmesg output of aic7xxx

PATCH Rolf Eike Beer 1 participant 1 message Mar 25, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

my dmesg looks like this:

----
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 2940A Ultra SCSI adapter>
aic7860: Single Channel A, SCSI Id=7, 3/253 SCBs

(scsi0:A:0): 10.000MB/s transfers (10.000MHz, offset 15)
Vendor: SEAGATE Model: ST318436LW Rev: 0010
----

To avoid the empty line I think this patch is needed.

Eike

drivers/scsi/aic7xxx/aic7xxx_osm.c +0 -1
diff -aupr linux-2.6.11/drivers/scsi/aic7xxx/aic7xxx_osm.c linux-2.6.12-rc1/drivers/scsi/aic7xxx/aic7xxx_osm.c
@@ -932,7 +932,6 @@ ahc_linux_info(struct Scsi_Host *host)
 	strcat(bp, "        ");
 	ahc_controller_info(ahc, ahc_info);
 	strcat(bp, ahc_info);
-	strcat(bp, "\n");
 
 	return (bp);
 }