mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Metathronius Galabant" <m.galabant@googlemail.com>
To: iss_storagedev@hp.com
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: [PATCH]: cciss - remove unneeded spaces in output for attached volumes (resend)
Date: Wed, 20 Sep 2006 13:22:09 +0200	[thread overview]
Message-ID: <1b270aae0609200422h511d1169na201cdeaee05a24a@mail.gmail.com> (raw)

Hi,

please see the following patch against the cciss driver (HP/Compaq
SmartArray Controllers).
It removes the awkwards spaces after the "=" when displaying the
geometry of the attached volumes.

Before:
cciss: using DAC cycles
     blocks= 286734240 block_size= 512
     heads= 255, sectors= 32, cylinders= 35139

After:
cciss: using DAC cycles
     blocks=286734240 block_size=512
     heads=255, sectors=32, cylinders=35139


The following is against 2.6.18-rc6 (and I hope gmail doesn't corrupt
the inline patch).
Cheers,
M.


Signed-off-by: Metathronius Galabant <m.galabant@gmail.com>

diff -ru linux-2.6.18-rc6/drivers/block/cciss.c
linux-2.6.18-rc6-f/drivers/block/cciss.c
--- linux-2.6.18-rc6/drivers/block/cciss.c      2006-09-11
15:57:54.000000000 +0200
+++ linux-2.6.18-rc6-f/drivers/block/cciss.c    2006-09-11
16:32:42.000000000 +0200
@@ -1934,7 +1934,7 @@
        } else {                /* Get geometry failed */
                printk(KERN_WARNING "cciss: reading geometry failed\n");
        }
-       printk(KERN_INFO "      heads= %d, sectors= %d, cylinders= %d\n\n",
+       printk(KERN_INFO "      heads=%d, sectors=%d, cylinders=%d\n\n",
               drv->heads, drv->sectors, drv->cylinders);
 }

@@ -1962,7 +1962,7 @@
                *total_size = 0;
                *block_size = BLOCK_SIZE;
        }
-       printk(KERN_INFO "      blocks= %u block_size= %d\n",
+       printk(KERN_INFO "      blocks=%u block_size=%d\n",
               *total_size, *block_size);
        return;
 }

             reply	other threads:[~2006-09-20 11:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20 11:22 Metathronius Galabant [this message]
2006-09-20 13:47 ` Miller, Mike (OS Dev)

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=1b270aae0609200422h511d1169na201cdeaee05a24a@mail.gmail.com \
    --to=m.galabant@googlemail.com \
    --cc=iss_storagedev@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®