[PATCH 28/59] drivers/mtd: Add missing "space"

Joe Perches joe at perches.com
Mon Nov 19 20:49:58 EST 2007


Signed-off-by: Joe Perches <joe at perches.com>
---
 drivers/mtd/nand/nandsim.c         |    2 +-
 drivers/mtd/onenand/onenand_base.c |    4 ++--
 drivers/mtd/ssfdc.c                |    4 ++--
 drivers/mtd/ubi/build.c            |    8 ++++----
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c
index 10490b4..54be667 100644
--- a/drivers/mtd/nand/nandsim.c
+++ b/drivers/mtd/nand/nandsim.c
@@ -1425,7 +1425,7 @@ static int do_state_action(struct nandsim *ns, uint32_t action)
 
 	case ACTION_HALFOFF:
 		if (!(ns->options & OPT_PAGE512_8BIT)) {
-			NS_ERR("do_state_action: BUG! can't skip half of page for non-512"
+			NS_ERR("do_state_action: BUG! can't skip half of page for non-512 "
 				"byte page size 8x chips\n");
 			return -1;
 		}
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index 1b0b320..89ddbaf 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -1119,7 +1119,7 @@ static int onenand_bbt_wait(struct mtd_info *mtd, int state)
 		if (ecc & ONENAND_ECC_2BIT_ALL)
 			return ONENAND_BBT_READ_ERROR;
 	} else {
-		printk(KERN_ERR "onenand_bbt_wait: read timeout!"
+		printk(KERN_ERR "onenand_bbt_wait: read timeout! "
 			"ctrl=0x%04x intr=0x%04x\n", ctrl, interrupt);
 		return ONENAND_BBT_READ_FATAL_ERROR;
 	}
@@ -2542,7 +2542,7 @@ static void onenand_resume(struct mtd_info *mtd)
 	if (this->state == FL_PM_SUSPENDED)
 		onenand_release_device(mtd);
 	else
-		printk(KERN_ERR "resume() called for the chip which is not"
+		printk(KERN_ERR "resume() called for the chip which is not "
 				"in suspended state\n");
 }
 
diff --git a/drivers/mtd/ssfdc.c b/drivers/mtd/ssfdc.c
index a5f3d60..9a38328 100644
--- a/drivers/mtd/ssfdc.c
+++ b/drivers/mtd/ssfdc.c
@@ -222,7 +222,7 @@ static int get_logical_address(uint8_t *oob_buf)
 
 			if (get_parity(block_address, 10) != parity) {
 				DEBUG(MTD_DEBUG_LEVEL0,
-					"SSFDC_RO: logical address field%d"
+					"SSFDC_RO: logical address field%d "
 					"parity error(0x%04X)\n", j+1,
 					block_address);
 			} else {
@@ -280,7 +280,7 @@ static int build_logical_block_map(struct ssfdcr_record *ssfdc)
 				(unsigned short)phys_block;
 
 			DEBUG(MTD_DEBUG_LEVEL2,
-				"SSFDC_RO: build_block_map() phys_block=%d,"
+				"SSFDC_RO: build_block_map() phys_block=%d, "
 				"logic_block_addr=%d, zone=%d\n",
 				phys_block, block_address, zone_index);
 		}
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c
index 0236539..c3b37e7 100644
--- a/drivers/mtd/ubi/build.c
+++ b/drivers/mtd/ubi/build.c
@@ -852,10 +852,10 @@ MODULE_PARM_DESC(mtd, "MTD devices to attach. Parameter format: "
 		      "Optional \"vid_hdr_offs\" and \"data_offs\" parameters "
 		      "specify UBI VID header position and data starting "
 		      "position to be used by UBI.\n"
-		      "Example: mtd=content,1984,2048 mtd=4 - attach MTD device"
-		      "with name content using VID header offset 1984 and data "
-		      "start 2048, and MTD device number 4 using default "
-		      "offsets");
+		      "Example: mtd=content,1984,2048 mtd=4 - attach MTD "
+		      "device with name content using VID header offset 1984 "
+		      "and data start 2048, and MTD device number 4 using "
+		      "default offsets");
 
 MODULE_VERSION(__stringify(UBI_VERSION));
 MODULE_DESCRIPTION("UBI - Unsorted Block Images");
-- 
1.5.3.5.652.gf192c




More information about the linux-mtd mailing list