From: Wolfram Sang Date: Mon, 31 Jan 2011 14:09:23 +0000 (+0100) Subject: i2c-stu300: make sure adapter-name is terminated X-Git-Tag: v2.6.38-rc7~52^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f10820e49585f281706ac07570a9e1652bdb5dd9;p=pandora-kernel.git i2c-stu300: make sure adapter-name is terminated Use strlcpy instead of strncpy. Signed-off-by: Wolfram Sang Cc: Linus Walleij Cc: Ben Dooks Signed-off-by: Ben Dooks --- Reading git-diff-tree failed