ubi: pr_err() strings should end with newlines
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 26 Jul 2017 09:42:54 +0000 (10:42 +0100)
committerRichard Weinberger <richard@nod.at>
Wed, 13 Sep 2017 20:05:30 +0000 (22:05 +0200)
commit278f31a70d2e40aa31bf465795bfce2ca8bb01b6
tree0b09bad3dc2382bcf08623cf3df77397b434bde0
parent569dbb88e80deb68974ef6fdd6a13edb9d686261
ubi: pr_err() strings should end with newlines

The ubi_init() function has a few error paths that use the
pr_err() to output errors. These should have new lines on
them as pr_err() does not automatically do this.

This fixes issues where if multiple mtd fail to bind to
ubi the console output starts wrapping around.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/build.c