From: Petr Mladek Date: Wed, 4 Jun 2014 23:11:32 +0000 (-0700) Subject: printk: shrink too long messages X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55bd53a4eb3dd18be8744f8b4d026068fc801a62;p=pandora-kernel.git printk: shrink too long messages We might want to print at least part of too long messages and add some warning for debugging purpose. The question is how long the shrunken message should be. If we use the whole buffer, it might get rotated too soon. Let's try to use only 1/4 of the buffer for now. Also shrink the whole dictionary. We do not want to parse it or break it in the middle of some pair of values. It would not cause any real harm but still. Signed-off-by: Petr Mladek Cc: Jan Kara Cc: Jiri Kosina Cc: Kay Sievers Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed