Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115565
b: refs/heads/master
c: d63d692
h: refs/heads/master
i:
  115563: 8ae5731
v: v3
  • Loading branch information
J.R. Mauro authored and Greg Kroah-Hartman committed Oct 10, 2008
1 parent cbbdcc2 commit e047943
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 10602db812fa270fc923f5e48fb47202288828f3
refs/heads/master: d63d692a44c918723895f792ffd17eab7bcfb8ef
8 changes: 4 additions & 4 deletions trunk/drivers/staging/sxg/sxg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e047943

Please sign in to comment.