aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.4/494-mtd-ubi-add-EOF-marker-support.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@freemail.hu>2017-12-19 09:11:24 +0100
committerJohn Crispin <john@phrozen.org>2017-12-24 09:03:00 +0100
commitbb51193acd4e1046fe731199a19b46ffcd461de5 (patch)
treeac91603b94a781ba71cde0375fcdf10d4babd7db /target/linux/generic/pending-4.4/494-mtd-ubi-add-EOF-marker-support.patch
parentedf5ae20260763c61d2827b78cd6168493fbfd53 (diff)
downloadupstream-bb51193acd4e1046fe731199a19b46ffcd461de5.tar.gz
upstream-bb51193acd4e1046fe731199a19b46ffcd461de5.tar.bz2
upstream-bb51193acd4e1046fe731199a19b46ffcd461de5.zip
kernel/4.4: add missing newline character to UBI messages
A few UBI messages lacks the trailing newline character which leads to ugly lines in the bootlog like this: [ 6.649159] UBI error: no valid UBI magic found inside mtd6[ 6.667751] Freeing unused kernel memory: 2196K Add a newline character to the end of the messages to fix it. After the fix the line from above looks better in the log: [ 6.609182] UBI error: no valid UBI magic found inside mtd6 [ 6.627599] Freeing unused kernel memory: 2132K Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
Diffstat (limited to 'target/linux/generic/pending-4.4/494-mtd-ubi-add-EOF-marker-support.patch')
-rw-r--r--target/linux/generic/pending-4.4/494-mtd-ubi-add-EOF-marker-support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-4.4/494-mtd-ubi-add-EOF-marker-support.patch b/target/linux/generic/pending-4.4/494-mtd-ubi-add-EOF-marker-support.patch
index dd5ee306ef..749232a396 100644
--- a/target/linux/generic/pending-4.4/494-mtd-ubi-add-EOF-marker-support.patch
+++ b/target/linux/generic/pending-4.4/494-mtd-ubi-add-EOF-marker-support.patch
@@ -27,7 +27,7 @@
+ return err;
+
+ if (ec_hdr_has_eof(ech)) {
-+ pr_notice("UBI: EOF marker found, PEBs from %d will be erased",
++ pr_notice("UBI: EOF marker found, PEBs from %d will be erased\n",
+ pnum);
+ ai->eof_found = true;
+ }