projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6314a10
)
floppy: format block0 read error message properly
author
Jiri Kosina
<jkosina@suse.cz>
Wed, 18 Jun 2014 11:44:18 +0000
(13:44 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 18 Jun 2014 11:44:18 +0000
(13:44 +0200)
In case reading of block 0 fails, line without trailing newline
is printed causing dmesg to look horrible.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/block/floppy.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/floppy.c
b/drivers/block/floppy.c
index 8e767bb7995ec05ac2966883f9a82c57b5b3bfc0..f0c95df1f14a277846aceec859390f21c7a84360 100644
(file)
--- a/
drivers/block/floppy.c
+++ b/
drivers/block/floppy.c
@@
-3774,7
+3774,7
@@
static void floppy_rb0_cb(struct bio *bio, int err)
int drive = cbdata->drive;
if (err) {
- pr_info("floppy: error %d while reading block 0", err);
+ pr_info("floppy: error %d while reading block 0
\n
", err);
set_bit(FD_OPEN_SHOULD_FAIL_BIT, &UDRS->flags);
}
complete(&cbdata->complete);