All of lore.kernel.org
 help / color / mirror / Atom feed
* Kill superfluos newline in dmesg output of aic7xxx
@ 2005-03-25  9:02 Rolf Eike Beer
  0 siblings, 0 replies; only message in thread
From: Rolf Eike Beer @ 2005-03-25  9:02 UTC (permalink / raw)
  To: SCSI Mailing List

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);
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-25 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-25  9:02 Kill superfluos newline in dmesg output of aic7xxx Rolf Eike Beer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.