From e04794383a7c30ec68cf6f65f882298f4aa0c329 Mon Sep 17 00:00:00 2001 From: "J.R. Mauro" Date: Fri, 3 Oct 2008 12:21:49 -0400 Subject: [PATCH] --- yaml --- r: 115565 b: refs/heads/master c: d63d692a44c918723895f792ffd17eab7bcfb8ef h: refs/heads/master i: 115563: 8ae5731fd593f986ac6ab3ebc7ac9fe06bf8e340 v: v3 --- [refs] | 2 +- trunk/drivers/staging/sxg/sxg.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index d0ad2a8a1fa7..7746894a5a9e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 10602db812fa270fc923f5e48fb47202288828f3 +refs/heads/master: d63d692a44c918723895f792ffd17eab7bcfb8ef diff --git a/trunk/drivers/staging/sxg/sxg.c b/trunk/drivers/staging/sxg/sxg.c index a91c9f397270..0117d5129402 100644 --- a/trunk/drivers/staging/sxg/sxg.c +++ b/trunk/drivers/staging/sxg/sxg.c @@ -453,7 +453,7 @@ static int sxg_allocate_resources(p_adapter_t adapter) // fails. If we hit a minimum, fail. for (;;) { - DBG_ERROR("%s Allocate XmtRings size[%x]\n", __FUNCTION__, + DBG_ERROR("%s Allocate XmtRings size[%lx]\n", __FUNCTION__, (sizeof(SXG_XMT_RING) * 1)); // Start with big items first - receive and transmit rings. At the moment @@ -470,7 +470,7 @@ static int sxg_allocate_resources(p_adapter_t adapter) } memset(adapter->XmtRings, 0, sizeof(SXG_XMT_RING) * 1); - DBG_ERROR("%s Allocate RcvRings size[%x]\n", __FUNCTION__, + DBG_ERROR("%s Allocate RcvRings size[%lx]\n", __FUNCTION__, (sizeof(SXG_RCV_RING) * 1)); adapter->RcvRings = pci_alloc_consistent(adapter->pcidev, @@ -531,7 +531,7 @@ static int sxg_allocate_resources(p_adapter_t adapter) return (STATUS_RESOURCES); } - DBG_ERROR("%s Allocate EventRings size[%x]\n", __FUNCTION__, + DBG_ERROR("%s Allocate EventRings size[%lx]\n", __FUNCTION__, (sizeof(SXG_EVENT_RING) * RssIds)); // Allocate event queues. @@ -562,7 +562,7 @@ static int sxg_allocate_resources(p_adapter_t adapter) } memset(adapter->Isr, 0, sizeof(u32) * IsrCount); - DBG_ERROR("%s Allocate shared XMT ring zero index location size[%x]\n", + DBG_ERROR("%s Allocate shared XMT ring zero index location size[%lx]\n", __FUNCTION__, sizeof(u32)); // Allocate shared XMT ring zero index location