: remove unneeded spaces in cciss output for attached volumes
PATCH 1/1 : remove unneeded spaces in cciss output for attached volumes
Hi,
please see the following patch against the CCISS driver (HP/Compaq SmartArray Controllers).
It removes the awkward spaces after the "=" when displaying the geometry of the attached volumes (and saves 5 bytes of kernel ;)
Before:
cciss: using DAC cycles
blocks= 286734240 block_size= 512
heads= 255, sectors= 32, cylinders= 35139After:
cciss: using DAC cycles
blocks=286734240 block_size=512
heads=255, sectors=32, cylinders=35139The following is against 2.6.18-rc6.
Cheers,
M.
Signed-off by: Metathronius Galabant <[email protected]>
drivers/block/cciss.c +2 -2
@@ -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 ; }