misc: st_kim: Increase size of dev_name buffer to incorporate termination
authorLee Jones <lee.jones@linaro.org>
Wed, 13 Aug 2014 11:45:19 +0000 (12:45 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 26 Sep 2014 07:15:29 +0000 (08:15 +0100)
commit6ae61fbf38d0cd2aa922eb5e7241e9b0bfd7009d
treee1de3259793e640f29449c758dff029b551e4c7c
parent4001998a43f4791b6e6c06df563f5d5bb3fbe4fb
misc: st_kim: Increase size of dev_name buffer to incorporate termination

Calling strncpy with a maximum size argument of 32 bytes on destination
array kim_gdata->dev_name of size 32 bytes might leave the destination
string unterminated.

Cc: gregkh@linuxfoundation.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/ti_wilink_st.h