diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-07-27 16:47:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:50 -0700 |
commit | 38d3af06737c6724e6f785fddf2679da02275dcb (patch) | |
tree | a4a23a577ac1eaa334a1bb66b368b03bccc439af /drivers | |
parent | 4d4a0e22418b517907340248460583bbd22d0609 (diff) | |
download | op-kernel-dev-38d3af06737c6724e6f785fddf2679da02275dcb.zip op-kernel-dev-38d3af06737c6724e6f785fddf2679da02275dcb.tar.gz |
Staging: hv: RndisFilter.c: fix print formatting
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/hv/RndisFilter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/RndisFilter.c b/drivers/staging/hv/RndisFilter.c index d971e86..9191667 100644 --- a/drivers/staging/hv/RndisFilter.c +++ b/drivers/staging/hv/RndisFilter.c @@ -409,7 +409,7 @@ RndisFilterReceiveResponse( } else { - DPRINT_ERR(NETVSC, "rndis response buffer overflow detected (size %u max %u)", Response->MessageLength, sizeof(RNDIS_FILTER_PACKET)); + DPRINT_ERR(NETVSC, "rndis response buffer overflow detected (size %u max %lu)", Response->MessageLength, sizeof(RNDIS_FILTER_PACKET)); if (Response->NdisMessageType == REMOTE_NDIS_RESET_CMPLT) /* does not have a request id field */ { @@ -539,7 +539,7 @@ RndisFilterOnReceive( if ((rndisHeader->NdisMessageType != REMOTE_NDIS_PACKET_MSG) && (rndisHeader->MessageLength > sizeof(RNDIS_MESSAGE))) { - DPRINT_ERR(NETVSC, "incoming rndis message buffer overflow detected (got %u, max %u)...marking it an error!", + DPRINT_ERR(NETVSC, "incoming rndis message buffer overflow detected (got %u, max %lu)...marking it an error!", rndisHeader->MessageLength, sizeof(RNDIS_MESSAGE)); } @@ -744,7 +744,7 @@ RndisFilterInit( { DPRINT_ENTER(NETVSC); - DPRINT_DBG(NETVSC, "sizeof(RNDIS_FILTER_PACKET) == %d", sizeof(RNDIS_FILTER_PACKET)); + DPRINT_DBG(NETVSC, "sizeof(RNDIS_FILTER_PACKET) == %ld", sizeof(RNDIS_FILTER_PACKET)); Driver->RequestExtSize = sizeof(RNDIS_FILTER_PACKET); Driver->AdditionalRequestPageBufferCount = 1; /* For rndis header */ |