From: Rickard Strandqvist Date: Sat, 26 Jul 2014 13:59:57 +0000 (+0200) Subject: MIPS: ralink: Use strlcpy to ensure string is always NUL-terminated. X-Git-Tag: omap-for-v3.17/fixes-against-rc2~135^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00791887b183c507cb6a6fd278c8ec8ccd2923e8;p=pandora-kernel.git MIPS: ralink: Use strlcpy to ensure string is always NUL-terminated. Replacing strncpy with strlcpy to avoid strings that lacks null terminate. Signed-off-by: Rickard Strandqvist Cc: Rob Herring Cc: Grant Likely Cc: James Hogan Cc: John Crispin Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/7485/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed