From: David Herrmann Date: Fri, 11 Feb 2011 09:10:44 +0000 (-0800) Subject: Input: uinput - fix setting up device name X-Git-Tag: v2.6.39-rc1~410^2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d9d6e91b835796c21fbd7ce479880e5181be112;p=pandora-kernel.git Input: uinput - fix setting up device name The check for non-empty device name was botched since we tried to account for extra space for the terminating zero at the same time. Convert to kstrndup() to avoid this problem. Signed-off-by: David Herrmann Acked-by: Aristeu Rozanski Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed