drivers/char/tpm/tpm_ppi: use strlcpy instead of strncpy

Ensure that the 'version' string includes a NULL terminator after its
copied out of the acpi table.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
This commit is contained in:
Chen Gang 2013-02-28 16:24:50 -06:00 • committed by Kent Yoder
commit e361200bfc