UBI: fix argument order of dbg_err() call
Subsystems (2)
PATCH 1/1 UBI: fix argument order of dbg_err() call
[UBI DBG error] (pid:16998) vol_cdev_read: -74 bytes were read, but with error 2048
Signed-off-by Timo Lindhorst <[email protected]>
--- drivers/mtd/ubi/cdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/ubi/cdev.c +1 -1
@@ -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 ;
Signature · 1 line
1.4.1
Quoted 2 lines · Timo Lindhorst
[UBI DBG error] (pid:16998)
vol_cdev_read: -74 bytes were read, but with error 2048
Thanks!
Signature · 2 lines
Best regards, Artem Bityutskiy (Битюцкий Артём)