drivers/usb/gadget: using strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Sat, 2 Feb 2013 07:48:54 +0000 (15:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 19:38:13 +0000 (11:38 -0800)
commit4d2079c190558dfa9b766a90a34cb30b8d49c8eb
tree7e8946cbc19fde7b974e3ffbc36e0dac7aecb0ba
parentb11b2e1bdd18ba5cd0dde075d440b3894e6ce64f
drivers/usb/gadget: using strlcpy instead of strncpy

  for NUL terminated string, better notice '\0' in the end.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/f_uvc.c