From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eusmtp01.atmel.com ([212.144.249.243]:44541 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751123AbbGaHlX (ORCPT ); Fri, 31 Jul 2015 03:41:23 -0400 From: Tony Cho To: CC: , , , , , , , , , , , Subject: [PATCH 22/28] staging: wilc1000: fix passing argument from incompatible type warning Date: Fri, 31 Jul 2015 16:38:30 +0900 Message-ID: <1438328316-30197-23-git-send-email-tony.cho@atmel.com> (sfid-20150731_094125_453694_B60F9E51) In-Reply-To: <1438328316-30197-1-git-send-email-tony.cho@atmel.com> References: <1438328316-30197-1-git-send-email-tony.cho@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: From: glen lee This patch changes pstrWFIDrv with pstrHostIfSetDrvHandler->u32Address which is WILC_WFIDrvHandle type. The type of parameter 5 in SendConfigPkt and u32Address in tstrHostIfSetDrvHandler was changed with WILC_WFIDrvHandle so the SendConfigPkt needs to take pstrHostIfSetDrvHandler->u32Address as argument as it is. Signed-off-by: glen lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index ab2e082..953df71 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -653,7 +653,7 @@ static s32 Handle_SetWfiDrvHandler(tstrHostIfSetDrvHandler *pstrHostIfSetDrvHand /*Sending Cfg*/ - s32Error = SendConfigPkt(SET_CFG, &strWID, 1, true, pstrWFIDrv); + s32Error = SendConfigPkt(SET_CFG, &strWID, 1, true, pstrHostIfSetDrvHandler->u32Address); if ((pstrHostIfSetDrvHandler->u32Address) == NULL) -- 1.9.1