Re: [PATCH net-next] r8152: replace strncpy with strlcpy

2014-08-27 Thread David Miller
From: Hayes Wang Date: Tue, 26 Aug 2014 10:08:23 +0800 > Replace the strncpy with strlcpy, and use sizeof to determine the > length. > > Signed-off-by: Hayes Wang Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH net-next] r8152: replace strncpy with strlcpy

2014-08-27 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Tue, 26 Aug 2014 10:08:23 +0800 Replace the strncpy with strlcpy, and use sizeof to determine the length. Signed-off-by: Hayes Wang hayesw...@realtek.com Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH net-next] r8152: replace strncpy with strlcpy

2014-08-25 Thread Hayes Wang
Replace the strncpy with strlcpy, and use sizeof to determine the length. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 2470d9c..33dcc97 100644 ---

[PATCH net-next] r8152: replace strncpy with strlcpy

2014-08-25 Thread Hayes Wang
Replace the strncpy with strlcpy, and use sizeof to determine the length. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 2470d9c..33dcc97