From 8760a199e3a64b22ec15118ca1da586bcef811bc Mon Sep 17 00:00:00 2001 From: Kevin McKinney Date: Wed, 4 Jan 2012 20:29:04 -0500 Subject: [PATCH] --- yaml --- r: 288971 b: refs/heads/master c: ce4bbc2ae4626f6fdf1af8767d59852978e5f942 h: refs/heads/master i: 288969: 7288b38c26b27e049dbcced5cf898bd07ddbbbcd 288967: dba1677dd22754a8219da4d8b152ab63ceb4edaf v: v3 --- [refs] | 2 +- trunk/drivers/staging/bcm/CmHost.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 7db3ccc20d0f..213bc155db4d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cffae184c3146abda6ef1153ac4f844d3ed6e177 +refs/heads/master: ce4bbc2ae4626f6fdf1af8767d59852978e5f942 diff --git a/trunk/drivers/staging/bcm/CmHost.c b/trunk/drivers/staging/bcm/CmHost.c index de38bedce339..941d047e78d3 100644 --- a/trunk/drivers/staging/bcm/CmHost.c +++ b/trunk/drivers/staging/bcm/CmHost.c @@ -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) @@ -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; @@ -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 @@ -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;