Patchwork ubi: spelling of detach in debug output

login
register
mail settings
Submitter Peter Meerwald
Date July 2, 2012, 9:38 p.m.
Message ID <1341265097-1445-1-git-send-email-pmeerw@pmeerw.net>
Download mbox | patch
Permalink /patch/168643/
State Accepted
Commit 2ce7be1b777d4f06c5b28a397cf85d9beb1bca0e
Headers show

Comments

Peter Meerwald - July 2, 2012, 9:38 p.m.
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
---
 drivers/mtd/ubi/cdev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Artem Bityutskiy - July 16, 2012, 6:36 a.m.
On Mon, 2012-07-02 at 23:38 +0200, Peter Meerwald wrote:
> Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>

Pushed to linux-ubi.git, thanks!

Patch

diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index acec85d..fb55678 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -1026,7 +1026,7 @@  static long ctrl_cdev_ioctl(struct file *file, unsigned int cmd,
 	{
 		int ubi_num;
 
-		dbg_gen("dettach MTD device");
+		dbg_gen("detach MTD device");
 		err = get_user(ubi_num, (__user int32_t *)argp);
 		if (err) {
 			err = -EFAULT;