diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-28 16:18:05 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:52 -0700 |
commit | b7d7ae6f1de803667f86d2f2a839bf513b294427 (patch) | |
tree | 9ce4d9c9b3c112259c884c391c284d02536aea73 /drivers/staging/hv/RndisFilter.c | |
parent | bafd2c2a16d4257fd580ad387f18a15377f60dc6 (diff) | |
download | op-kernel-dev-b7d7ae6f1de803667f86d2f2a839bf513b294427.zip op-kernel-dev-b7d7ae6f1de803667f86d2f2a839bf513b294427.tar.gz |
Staging: hv: properly fix the printk() warnings
This fixes the printk() warnings on all platforms now (x86-64 and i386).
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/RndisFilter.c')
-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 aa9cfdf..ddeede1 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 %zu)", 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 %zu)...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) == %zd", sizeof(RNDIS_FILTER_PACKET)); Driver->RequestExtSize = sizeof(RNDIS_FILTER_PACKET); Driver->AdditionalRequestPageBufferCount = 1; /* For rndis header */ |