]> git.baikalelectronics.ru Git - kernel.git/commit
tty: hvcs: Fix odd use of strlcpy
authorJoe Perches <joe@perches.com>
Thu, 4 Jul 2019 23:57:47 +0000 (16:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2019 10:43:44 +0000 (12:43 +0200)
commit2424145afbb8ddf627d94ef182bd78fa6b70f84d
treeb353821c499f408b4d3a1c5ac026371b74bb6736
parent56ce9d91f90147230b7670637413263d83945311
tty: hvcs: Fix odd use of strlcpy

Use the typical style of array, not the equivalent &array[0].

Signed-off-by: Joe Perches <joe@perches.com>
Link: https://lore.kernel.org/r/1be432798311378947ec4e6051cad1235b6eccbb.1562283944.git.joe@perches.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvcs.c