Kill superfluos newline in dmesg output of aic7xxx

Rolf Eike Beer
2005-03-25T11:30:26Z

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

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>

diff -aupr linux-2.6.11/drivers/scsi/aic7xxx/aic7xxx_osm.c linux-2.6.12-rc1/drivers/scsi/aic7xxx/aic7xxx_osm.c
--- linux-2.6.11/drivers/scsi/aic7xxx/aic7xxx_osm.c 2005-03-02 08:37:48.000000000 +0100
+++ linux-2.6.12-rc1/drivers/scsi/aic7xxx/aic7xxx_osm.c 2005-03-25 09:57:01.000000000 +0100
@@ -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);
}