beceem: change format of debug message
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 1 Nov 2010 15:14:29 +0000 (11:14 -0400)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 1 Nov 2010 16:06:44 +0000 (12:06 -0400)
Statistic point is now u32 (like it has to be).

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
drivers/staging/bcm/Misc.c

index 0ada848fe1e1a79879ca83ded8438a0ff87791aa..11e78eccb2eef2ac700f1d41ccacdd6dae7b615d 100644 (file)
@@ -574,8 +574,8 @@ VOID LinkMessage(PMINI_ADAPTER Adapter)
 VOID StatisticsResponse(PMINI_ADAPTER Adapter,PVOID pvBuffer)
 {
        BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "%s====>",__FUNCTION__);
-       Adapter->StatisticsPointer = ntohl(*(PULONG)pvBuffer);
-       BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "Stats at %lx", Adapter->StatisticsPointer);
+       Adapter->StatisticsPointer = ntohl(*(__be32 *)pvBuffer);
+       BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "Stats at %x", (UINT)Adapter->StatisticsPointer);
        BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "%s <====",__FUNCTION__);
        return;
 }