diff options
author | Johnny Kim <johnny.kim@atmel.com> | 2015-06-10 17:06:46 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-10 17:45:16 -0700 |
commit | 8a14330f6ded9b22a9d8231ac988963a402ea067 (patch) | |
tree | 8a5fa75f118d92beece2151eb77194cf05f33feb /drivers/staging/wilc1000/host_interface.c | |
parent | 96baf5a61b14119eca3f5b282700e2560e5bda28 (diff) | |
download | op-kernel-dev-8a14330f6ded9b22a9d8231ac988963a402ea067.zip op-kernel-dev-8a14330f6ded9b22a9d8231ac988963a402ea067.tar.gz |
staging: wilc1000: modify printk format
This remove compile warnings about printk format.
Signed-off-by: Johnny Kim <johnny.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index afe5126..1ecb373 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -703,7 +703,7 @@ static WILC_Sint32 Handle_SetOperationMode(void *drvHandler, tstrHostIfSetOperat strWID.s32ValueSize = sizeof(WILC_Uint32); /*Sending Cfg*/ - PRINT_INFO(HOSTINF_DBG, "(WILC_Uint32)pstrWFIDrv= %x \n", (WILC_Uint32)pstrWFIDrv); + PRINT_INFO(HOSTINF_DBG, "(size_t)pstrWFIDrv= %p \n", pstrWFIDrv); s32Error = SendConfigPkt(SET_CFG, &strWID, 1, WILC_TRUE, (WILC_Uint32)pstrWFIDrv); @@ -6631,7 +6631,7 @@ WILC_Sint32 host_int_init(WILC_WFIDrvHandle *phWFIDrv) g_obtainingIP = WILC_FALSE; #endif - PRINT_D(HOSTINF_DBG, "Global handle pointer value=%x\n", (WILC_Uint32)pstrWFIDrv); + PRINT_D(HOSTINF_DBG, "Global handle pointer value=%p\n", pstrWFIDrv); /* /////////////////////////////////////// */ if (clients_count == 0) { sema_init(&hSemHostIFthrdEnd, 0); @@ -6928,7 +6928,7 @@ void NetworkInfoReceived(u8 *pu8Buffer, WILC_Uint32 u32Length) if (pstrWFIDrv == NULL || pstrWFIDrv == terminated_handle) { - PRINT_ER("NetworkInfo received but driver not init[%x]\n", (WILC_Uint32)pstrWFIDrv); + PRINT_ER("NetworkInfo received but driver not init[%p]\n", pstrWFIDrv); return; } @@ -7037,7 +7037,7 @@ void host_int_ScanCompleteReceived(u8 *pu8Buffer, WILC_Uint32 u32Length) pstrWFIDrv = (tstrWILC_WFIDrv *)drvHandler; - PRINT_D(GENERIC_DBG, "Scan notification received %x\n", (WILC_Uint32)pstrWFIDrv); + PRINT_D(GENERIC_DBG, "Scan notification received %p\n", pstrWFIDrv); if (pstrWFIDrv == NULL || pstrWFIDrv == terminated_handle) { return; |