Commit 064a7694 authored by Masanari Iida's avatar Masanari Iida Committed by Artem Bityutskiy

mtd: Fix typo mtd/tests

Correct spelling typo in printk within drivers/mtd/tests.
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent 07300164
...@@ -160,7 +160,7 @@ static uint8_t nand_read_byte(struct mtd_info *mtd) ...@@ -160,7 +160,7 @@ static uint8_t nand_read_byte(struct mtd_info *mtd)
} }
/** /**
* nand_read_byte16 - [DEFAULT] read one byte endianess aware from the chip * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip
* nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip
* @mtd: MTD device structure * @mtd: MTD device structure
* *
......
...@@ -366,8 +366,8 @@ static int __init mtd_oobtest_init(void) ...@@ -366,8 +366,8 @@ static int __init mtd_oobtest_init(void)
printk(KERN_INFO "=================================================\n"); printk(KERN_INFO "=================================================\n");
if (dev < 0) { if (dev < 0) {
pr_info("Please specify a valid mtd-device via module paramter\n"); pr_info("Please specify a valid mtd-device via module parameter\n");
pr_crit(KERN_CRIT "CAREFUL: This test wipes all data on the specified MTD device!\n"); pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n");
return -EINVAL; return -EINVAL;
} }
......
...@@ -499,7 +499,7 @@ static int __init mtd_pagetest_init(void) ...@@ -499,7 +499,7 @@ static int __init mtd_pagetest_init(void)
printk(KERN_INFO "=================================================\n"); printk(KERN_INFO "=================================================\n");
if (dev < 0) { if (dev < 0) {
pr_info("Please specify a valid mtd-device via module paramter\n"); pr_info("Please specify a valid mtd-device via module parameter\n");
pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n"); pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n");
return -EINVAL; return -EINVAL;
} }
......
...@@ -171,7 +171,7 @@ static int __init mtd_readtest_init(void) ...@@ -171,7 +171,7 @@ static int __init mtd_readtest_init(void)
printk(KERN_INFO "=================================================\n"); printk(KERN_INFO "=================================================\n");
if (dev < 0) { if (dev < 0) {
pr_info("Please specify a valid mtd-device via module paramter\n"); pr_info("Please specify a valid mtd-device via module parameter\n");
return -EINVAL; return -EINVAL;
} }
......
...@@ -351,7 +351,7 @@ static int __init mtd_speedtest_init(void) ...@@ -351,7 +351,7 @@ static int __init mtd_speedtest_init(void)
printk(KERN_INFO "=================================================\n"); printk(KERN_INFO "=================================================\n");
if (dev < 0) { if (dev < 0) {
pr_info("Please specify a valid mtd-device via module paramter\n"); pr_info("Please specify a valid mtd-device via module parameter\n");
pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n"); pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n");
return -EINVAL; return -EINVAL;
} }
......
...@@ -231,7 +231,7 @@ static int __init mtd_stresstest_init(void) ...@@ -231,7 +231,7 @@ static int __init mtd_stresstest_init(void)
printk(KERN_INFO "=================================================\n"); printk(KERN_INFO "=================================================\n");
if (dev < 0) { if (dev < 0) {
pr_info("Please specify a valid mtd-device via module paramter\n"); pr_info("Please specify a valid mtd-device via module parameter\n");
pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n"); pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n");
return -EINVAL; return -EINVAL;
} }
......
...@@ -377,7 +377,7 @@ static int __init mtd_subpagetest_init(void) ...@@ -377,7 +377,7 @@ static int __init mtd_subpagetest_init(void)
printk(KERN_INFO "=================================================\n"); printk(KERN_INFO "=================================================\n");
if (dev < 0) { if (dev < 0) {
pr_info("Please specify a valid mtd-device via module paramter\n"); pr_info("Please specify a valid mtd-device via module parameter\n");
pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n"); pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n");
return -EINVAL; return -EINVAL;
} }
......
...@@ -216,7 +216,7 @@ static int __init tort_init(void) ...@@ -216,7 +216,7 @@ static int __init tort_init(void)
"flash, stop it if this is not wanted.\n"); "flash, stop it if this is not wanted.\n");
if (dev < 0) { if (dev < 0) {
pr_info("Please specify a valid mtd-device via module paramter\n"); pr_info("Please specify a valid mtd-device via module parameter\n");
pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n"); pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n");
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment