diff options
author | Petr Mladek <pmladek@suse.cz> | 2014-04-03 21:48:41 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 23:21:07 (GMT) |
commit | e8c42d36ab86cf45f88c3a0e344233b1032fbf3d (patch) | |
tree | 94fe60e04065bb06c1c83c68b8371dedc113cfc3 /kernel/signal.c | |
parent | c64730b26f08cccfbc8fcbf169c304b4bd71dcac (diff) | |
download | linux-e8c42d36ab86cf45f88c3a0e344233b1032fbf3d.tar.xz |
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 <pmladek@suse.cz>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Kay Sievers <kay@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions