mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
beceem: change format of debug message
Statistic point is now u32 (like it has to be). Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
This commit is contained in:
parent
3349d95b3f
commit
e39e3be66e
@ -574,8 +574,8 @@ VOID LinkMessage(PMINI_ADAPTER Adapter)
|
|||||||
VOID StatisticsResponse(PMINI_ADAPTER Adapter,PVOID pvBuffer)
|
VOID StatisticsResponse(PMINI_ADAPTER Adapter,PVOID pvBuffer)
|
||||||
{
|
{
|
||||||
BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "%s====>",__FUNCTION__);
|
BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "%s====>",__FUNCTION__);
|
||||||
Adapter->StatisticsPointer = ntohl(*(PULONG)pvBuffer);
|
Adapter->StatisticsPointer = ntohl(*(__be32 *)pvBuffer);
|
||||||
BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "Stats at %lx", Adapter->StatisticsPointer);
|
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__);
|
BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "%s <====",__FUNCTION__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user