net: ethernet: ti: cpmac.c: Cleaning up missing null-terminate after strncpy call
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 9 Aug 2014 23:41:47 +0000 (01:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Aug 2014 19:27:53 +0000 (12:27 -0700)
commit9951e0484972c9918f8a38ff047cfbad388058d4
treec137d0f49cfa8ac19ebd2d46f05601df3d3fd9b1
parent3fadb06daef958d2ae2d3be363a0cfaa92008b52
net: ethernet: ti: cpmac.c: Cleaning up missing null-terminate after strncpy call

Added a guaranteed null-terminate after call to strncpy.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpmac.c