kmsg: /dev/kmsg - properly return possible copy_from_user() failure
authorKay Sievers <kay@vrfy.org>
Mon, 30 Jul 2012 21:40:08 +0000 (14:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:13 +0000 (17:25 -0700)
commitcdf53441368cc02ee4aa8a8343a5dc25132836f0
tree3867dc7e3a4477f7d2ed9ed5990b6d71f075c0d2
parent5353cf089bb32b69a7515be909c14bf05fe2e81e
kmsg: /dev/kmsg - properly return possible copy_from_user() failure

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Kay Sievers <kay@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/printk.c