Skip to content

Commit

Permalink
mtd: Fix typo mtd/tests
Browse files Browse the repository at this point in the history
Correct spelling typo in printk within drivers/mtd/tests.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
  • Loading branch information
Masanari Iida authored and Artem Bityutskiy committed Nov 18, 2012
1 parent 0730016 commit 064a769
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* @mtd: MTD device structure
*
Expand Down
4 changes: 2 additions & 2 deletions drivers/mtd/tests/mtd_oobtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ static int __init mtd_oobtest_init(void)
printk(KERN_INFO "=================================================\n");

if (dev < 0) {
pr_info("Please specify a valid mtd-device via module paramter\n");
pr_crit(KERN_CRIT "CAREFUL: This test wipes all data on the specified MTD device!\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");
return -EINVAL;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/mtd/tests/mtd_pagetest.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ static int __init mtd_pagetest_init(void)
printk(KERN_INFO "=================================================\n");

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");
return -EINVAL;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/mtd/tests/mtd_readtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static int __init mtd_readtest_init(void)
printk(KERN_INFO "=================================================\n");

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

Expand Down
2 changes: 1 addition & 1 deletion drivers/mtd/tests/mtd_speedtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ static int __init mtd_speedtest_init(void)
printk(KERN_INFO "=================================================\n");

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");
return -EINVAL;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/mtd/tests/mtd_stresstest.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static int __init mtd_stresstest_init(void)
printk(KERN_INFO "=================================================\n");

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");
return -EINVAL;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/mtd/tests/mtd_subpagetest.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static int __init mtd_subpagetest_init(void)
printk(KERN_INFO "=================================================\n");

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");
return -EINVAL;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/mtd/tests/mtd_torturetest.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static int __init tort_init(void)
"flash, stop it if this is not wanted.\n");

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");
return -EINVAL;
}
Expand Down

0 comments on commit 064a769

Please sign in to comment.