From: Chaehyun Lim Date: Mon, 10 Aug 2015 02:33:15 +0000 (+0900) Subject: staging: wilc1000: Use strncpy instead of WILC_strncpy X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85b509f18a7f27d6cc296d62e96e4632c83161fd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: wilc1000: Use strncpy instead of WILC_strncpy Use strncpy instead of WILC_strncpy that is a custom function Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index c59d9ba298cc..a950d4054e38 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -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;