]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/usb/core: using strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Sat, 2 Feb 2013 07:57:53 +0000 (15:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 19:38:13 +0000 (11:38 -0800)
commita32bf16403d6cc43f7673d909b4610d7cdf04bc3
tree4cc9020f9f5800113d59246d12b79900cf937eb9
parent106e831646913cedd1e75c715c91f4e5d6196d02
drivers/usb/core: 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/core/devio.c