Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- drivers/staging/bcm/CmHost.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index d27759e..2838ffa 100644 --- a/drivers/staging/bcm/CmHost.c +++ b/drivers/staging/bcm/CmHost.c @@ -1407,11 +1407,11 @@ static VOID DumpCmControlPacket(PVOID buffer) } static inline ULONG RestoreSFParam(struct bcm_mini_adapter *ad, - ULONG addr_sf_param_set, PUCHAR pucDestBuffer) + ULONG addr_sf_param_set, PUCHAR dest_buff) { UINT nBytesToRead = sizeof(struct bcm_connect_mgr_params); - if (addr_sf_param_set == 0 || NULL == pucDestBuffer) { + if (addr_sf_param_set == 0 || NULL == dest_buff) { BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL, "Got Param address as 0!!"); return 0; @@ -1419,7 +1419,7 @@ static inline ULONG RestoreSFParam(struct bcm_mini_adapter *ad, addr_sf_param_set = ntohl(addr_sf_param_set); /* Read out the SF Param Set At the indicated Location */ - if (rdm(ad, addr_sf_param_set, (PUCHAR)pucDestBuffer, nBytesToRead) < 0) + if (rdm(ad, addr_sf_param_set, (PUCHAR)dest_buff, nBytesToRead) < 0) return STATUS_FAILURE; return 1; -- 2.1.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel