Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126655
b: refs/heads/master
c: 6661532
h: refs/heads/master
i:
  126653: 4da4ed8
  126651: 03b6508
  126647: 9906265
  126639: 81d7361
  126623: 6040c77
  126591: fe5d7ba
v: v3
  • Loading branch information
Lior Dotan authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent c28f8ad commit 7c47178
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 7c7e18790c8236ec2bb7581f5337ecff7e31916e
refs/heads/master: 66615321f59c6ff98b7bf2e9a3caf04ff30c031b
6 changes: 3 additions & 3 deletions trunk/drivers/staging/slicoss/slicoss.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ static void slic_init_adapter(struct net_device *netdev,
index, pslic_handle, adapter->pfree_slic_handles, pslic_handle->next);*/
adapter->pshmem = (struct slic_shmem *)
pci_alloc_consistent(adapter->pcidev,
sizeof(struct slic_shmem *),
sizeof(struct slic_shmem),
&adapter->
phys_shmem);
/*
Expand Down Expand Up @@ -1431,7 +1431,7 @@ static void slic_init_cleanup(struct adapter *adapter)
DBG_MSG("adapter[%p] port %d pshmem[%p] FreeShmem ",
adapter, adapter->port, (void *) adapter->pshmem);
pci_free_consistent(adapter->pcidev,
sizeof(struct slic_shmem *),
sizeof(struct slic_shmem),
adapter->pshmem, adapter->phys_shmem);
adapter->pshmem = NULL;
adapter->phys_shmem = (dma_addr_t) NULL;
Expand Down Expand Up @@ -2832,7 +2832,7 @@ static u32 slic_card_locate(struct adapter *adapter)
}
if (!physcard) {
/* no structure allocated for this physical card yet */
physcard = kzalloc(sizeof(struct physcard *), GFP_ATOMIC);
physcard = kzalloc(sizeof(struct physcard), GFP_ATOMIC);
ASSERT(physcard);

DBG_MSG
Expand Down

0 comments on commit 7c47178

Please sign in to comment.