projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7c8b94
)
mtip32xx: Proper reporting of write protect status on big-endian
author
Asai Thambi S P
<asamymuthupa@micron.com>
Wed, 5 Sep 2012 16:33:32 +0000
(22:03 +0530)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 12 Sep 2012 20:19:59 +0000
(22:19 +0200)
Proper reporting of write protect status on big-endian
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Selvan Mani <smani@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c
patch
|
blob
|
history
diff --git
a/drivers/block/mtip32xx/mtip32xx.c
b/drivers/block/mtip32xx/mtip32xx.c
index cf557a457cc03faf319f451b2f7a031e06929cc9..06bc273ba28981f245710519389f6e7ec9417b6b 100644
(file)
--- a/
drivers/block/mtip32xx/mtip32xx.c
+++ b/
drivers/block/mtip32xx/mtip32xx.c
@@
-3218,8
+3218,8
@@
static int mtip_hw_init(struct driver_data *dd)
"Unable to check write protect progress\n");
else
dev_info(&dd->pdev->dev,
- "Write protect progress: %
d%% (%d
blocks)\n",
- attr242.cur,
attr242.data
);
+ "Write protect progress: %
u%% (%u
blocks)\n",
+ attr242.cur,
le32_to_cpu(attr242.data)
);
return rv;
out3: