mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 03:06:50 -04:00
staging: wilc1000: Use strncpy instead of WILC_strncpy
Use strncpy instead of WILC_strncpy that is a custom function Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1799cb6188
commit
85b509f18a
@@ -1577,7 +1577,7 @@ s32 further_process_response(u8 *resp,
|
||||
case WID_ADR:
|
||||
create_mac_addr(cfg_str, resp + idx);
|
||||
|
||||
WILC_strncpy(pstrWIDresult->ps8WidVal, cfg_str, strlen(cfg_str));
|
||||
strncpy(pstrWIDresult->ps8WidVal, cfg_str, strlen(cfg_str));
|
||||
pstrWIDresult->ps8WidVal[strlen(cfg_str)] = '\0';
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user