mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
apanic start to write flash must be aligned to block
This commit is contained in:
@@ -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->writesize;
|
||||
console_offset = ctx->mtd->erasesize;
|
||||
|
||||
/*
|
||||
* Write out the console
|
||||
|
||||
Reference in New Issue
Block a user