All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rolf Eike Beer <eike-kernel@sf-tec.de>
To: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Kill superfluos newline in dmesg output of aic7xxx
Date: Fri, 25 Mar 2005 10:02:50 +0100	[thread overview]
Message-ID: <200503251002.51656.eike-kernel@sf-tec.de> (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

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

                 reply	other threads:[~2005-03-25 11:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200503251002.51656.eike-kernel@sf-tec.de \
    --to=eike-kernel@sf-tec.de \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.