From: Timo Lindhorst <lindhors@linux.vnet.ibm.com>
To: MTD list <linux-mtd@lists.infradead.org>
Subject: [PATCH] [MTD] UBI: fix argument order of dbg_err() call
Date: Tue, 23 Jan 2007 19:00:13 +0100 [thread overview]
Message-ID: <200701231900.13218.lindhors@linux.vnet.ibm.com> (raw)
[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
next reply other threads:[~2007-01-23 18:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-23 18:00 Timo Lindhorst [this message]
2007-01-24 16:30 ` [PATCH] [MTD] UBI: fix argument order of dbg_err() call Artem Bityutskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701231900.13218.lindhors@linux.vnet.ibm.com \
--to=lindhors@linux.vnet.ibm.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.