MLK-12181 misc: at25: Cleaning up missing null-terminate in conjunction with strncpy
authorFugang Duan <b38611@freescale.com>
Mon, 11 Jan 2016 08:10:10 +0000 (16:10 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:43 +0000 (14:49 -0500)
commit92208ee8ee7c350c080cea7597a4d824fd79a264
treee9311eae622fe64f61c1d8efe4f0c6cba554d27a
parentd47e7d9d1247a059da0a03ad8e4e064566858da0
MLK-12181 misc: at25: Cleaning up missing null-terminate in conjunction with strncpy

Replacing strncpy with strlcpy to avoid strings that lacks null terminate.

Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/misc/eeprom/at25.c