projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fdec9a
)
apanic start to write flash must be aligned to block
author
hxy
<hxy@rock-chips.com>
Wed, 29 Sep 2010 08:03:12 +0000
(16:03 +0800)
committer
hxy
<hxy@rock-chips.com>
Wed, 29 Sep 2010 08:03:12 +0000
(16:03 +0800)
drivers/misc/apanic.c
patch
|
blob
|
history
diff --git
a/drivers/misc/apanic.c
b/drivers/misc/apanic.c
index ca875f89da7a7ffe4dfde8eda532f26c800d50f9..ee3a4a440675f0994f22a186876f75e8fce5ad55 100644
(file)
--- a/
drivers/misc/apanic.c
+++ b/
drivers/misc/apanic.c
@@
-511,7
+511,7
@@
static int apanic(struct notifier_block *this, unsigned long event,
printk(KERN_EMERG "Crash partition in use!\n");
goto out;
}
- console_offset = ctx->mtd->
writ
esize;
+ console_offset = ctx->mtd->
eras
esize;
/*
* Write out the console