From: Petr Mladek Date: Thu, 3 Apr 2014 21:48:41 +0000 (-0700) Subject: printk: add comment about tricky check for text buffer size X-Git-Tag: v3.15-rc1~106^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8c42d36ab86cf45f88c3a0e344233b1032fbf3d;p=pandora-kernel.git printk: add comment about tricky check for text buffer size There is no check for potential "text_len" overflow. It is not needed because only valid level is detected. It took me some time to understand why. It would deserve a comment ;-) Signed-off-by: Petr Mladek Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Jan Kara Cc: Michal Hocko Cc: Kay Sievers Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed