Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288971
b: refs/heads/master
c: ce4bbc2
h: refs/heads/master
i:
  288969: 7288b38
  288967: dba1677
v: v3
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent 3a9fd26 commit 8760a19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: cffae184c3146abda6ef1153ac4f844d3ed6e177
refs/heads/master: ce4bbc2ae4626f6fdf1af8767d59852978e5f942
10 changes: 5 additions & 5 deletions trunk/drivers/staging/bcm/CmHost.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ static ULONG GetNextTargetBufferLocation(PMINI_ADAPTER Adapter, B_UINT16 tid);
* Returns - Queue index for this SFID(If matched)
* Else Invalid Queue Index(If Not matched)
************************************************************/
INT SearchSfid(PMINI_ADAPTER Adapter, UINT uiSfid)
int SearchSfid(PMINI_ADAPTER Adapter, UINT uiSfid)
{
INT iIndex = 0;
int iIndex = 0;

for (iIndex = (NO_OF_QUEUES-1); iIndex >= 0; iIndex--)
if (Adapter->PackInfo[iIndex].ulSFID == uiSfid)
Expand All @@ -49,7 +49,7 @@ INT SearchSfid(PMINI_ADAPTER Adapter, UINT uiSfid)
* Returns - Queue index for the free SFID
* Else returns Invalid Index.
****************************************************************/
static INT SearchFreeSfid(PMINI_ADAPTER Adapter)
static int SearchFreeSfid(PMINI_ADAPTER Adapter)
{
UINT uiIndex = 0;

Expand Down Expand Up @@ -1619,7 +1619,7 @@ static ULONG GetNextTargetBufferLocation(PMINI_ADAPTER Adapter, B_UINT16 tid)
return ulTargetDSXBufferAddress;
}

INT AllocAdapterDsxBuffer(PMINI_ADAPTER Adapter)
int AllocAdapterDsxBuffer(PMINI_ADAPTER Adapter)
{
/*
* Need to Allocate memory to contain the SUPER Large structures
Expand All @@ -1632,7 +1632,7 @@ INT AllocAdapterDsxBuffer(PMINI_ADAPTER Adapter)
return 0;
}

INT FreeAdapterDsxBuffer(PMINI_ADAPTER Adapter)
int FreeAdapterDsxBuffer(PMINI_ADAPTER Adapter)
{
kfree(Adapter->caDsxReqResp);
return 0;
Expand Down

0 comments on commit 8760a19

Please sign in to comment.