Commit ce4bbc2a authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

Staging: bcm: Replace variables and function outputs defined as INT with int.

This patch replaces all variables and function output
that have a datatype definition of "INT" with "int".
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cffae184
...@@ -28,9 +28,9 @@ static ULONG GetNextTargetBufferLocation(PMINI_ADAPTER Adapter, B_UINT16 tid); ...@@ -28,9 +28,9 @@ static ULONG GetNextTargetBufferLocation(PMINI_ADAPTER Adapter, B_UINT16 tid);
* Returns - Queue index for this SFID(If matched) * Returns - Queue index for this SFID(If matched)
* Else Invalid Queue Index(If Not 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--) for (iIndex = (NO_OF_QUEUES-1); iIndex >= 0; iIndex--)
if (Adapter->PackInfo[iIndex].ulSFID == uiSfid) if (Adapter->PackInfo[iIndex].ulSFID == uiSfid)
...@@ -49,7 +49,7 @@ INT SearchSfid(PMINI_ADAPTER Adapter, UINT uiSfid) ...@@ -49,7 +49,7 @@ INT SearchSfid(PMINI_ADAPTER Adapter, UINT uiSfid)
* Returns - Queue index for the free SFID * Returns - Queue index for the free SFID
* Else returns Invalid Index. * Else returns Invalid Index.
****************************************************************/ ****************************************************************/
static INT SearchFreeSfid(PMINI_ADAPTER Adapter) static int SearchFreeSfid(PMINI_ADAPTER Adapter)
{ {
UINT uiIndex = 0; UINT uiIndex = 0;
...@@ -1619,7 +1619,7 @@ static ULONG GetNextTargetBufferLocation(PMINI_ADAPTER Adapter, B_UINT16 tid) ...@@ -1619,7 +1619,7 @@ static ULONG GetNextTargetBufferLocation(PMINI_ADAPTER Adapter, B_UINT16 tid)
return ulTargetDSXBufferAddress; return ulTargetDSXBufferAddress;
} }
INT AllocAdapterDsxBuffer(PMINI_ADAPTER Adapter) int AllocAdapterDsxBuffer(PMINI_ADAPTER Adapter)
{ {
/* /*
* Need to Allocate memory to contain the SUPER Large structures * Need to Allocate memory to contain the SUPER Large structures
...@@ -1632,7 +1632,7 @@ INT AllocAdapterDsxBuffer(PMINI_ADAPTER Adapter) ...@@ -1632,7 +1632,7 @@ INT AllocAdapterDsxBuffer(PMINI_ADAPTER Adapter)
return 0; return 0;
} }
INT FreeAdapterDsxBuffer(PMINI_ADAPTER Adapter) int FreeAdapterDsxBuffer(PMINI_ADAPTER Adapter)
{ {
kfree(Adapter->caDsxReqResp); kfree(Adapter->caDsxReqResp);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment