public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] [MTD] UBI: fix argument order of dbg_err() call
@ 2007-01-23 18:00 Timo Lindhorst
  2007-01-24 16:30 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Timo Lindhorst @ 2007-01-23 18:00 UTC (permalink / raw)
  To: MTD list

[UBI DBG error] (pid:16998) vol_cdev_read: -74 bytes were read, but with error 2048

Signed-off-by: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
---
 drivers/mtd/ubi/cdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index 2bbcbba..6ec311a 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -371,7 +371,7 @@ static ssize_t vol_cdev_read(struct file
 			}
 
 			dbg_err("%d bytes were read, but with error %d",
-				 err, read);
+				read, err);
 			count -= read;
 			*offp += read;
 			break;
-- 
1.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [MTD] UBI: fix argument order of dbg_err() call
  2007-01-23 18:00 [PATCH] [MTD] UBI: fix argument order of dbg_err() call Timo Lindhorst
@ 2007-01-24 16:30 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2007-01-24 16:30 UTC (permalink / raw)
  To: Timo Lindhorst; +Cc: MTD list

On Tue, 2007-01-23 at 19:00 +0100, Timo Lindhorst wrote:
> [UBI DBG error] (pid:16998) vol_cdev_read: -74 bytes were read, but with error 2048
> 

Thanks!

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-24 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-23 18:00 [PATCH] [MTD] UBI: fix argument order of dbg_err() call Timo Lindhorst
2007-01-24 16:30 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox