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

Staging: bcm: Rename INT to "int" in Misc.c

This patch renames uppercase INT to
"int" in Misc.c, and removes one
white space issue.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9ef0760f
...@@ -24,10 +24,10 @@ static void default_wimax_protocol_initialize(struct bcm_mini_adapter *Adapter) ...@@ -24,10 +24,10 @@ static void default_wimax_protocol_initialize(struct bcm_mini_adapter *Adapter)
return; return;
} }
INT InitAdapter(struct bcm_mini_adapter *psAdapter) int InitAdapter(struct bcm_mini_adapter *psAdapter)
{ {
int i = 0; int i = 0;
INT Status = STATUS_SUCCESS; int Status = STATUS_SUCCESS;
BCM_DEBUG_PRINT(psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Initialising Adapter = %p", psAdapter); BCM_DEBUG_PRINT(psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Initialising Adapter = %p", psAdapter);
if (psAdapter == NULL) { if (psAdapter == NULL) {
...@@ -216,10 +216,10 @@ static int BcmFileDownload(struct bcm_mini_adapter *Adapter, const char *path, u ...@@ -216,10 +216,10 @@ static int BcmFileDownload(struct bcm_mini_adapter *Adapter, const char *path, u
* Logical Adapter * Logical Adapter
* Control Packet Buffer * Control Packet Buffer
*/ */
INT CopyBufferToControlPacket(struct bcm_mini_adapter *Adapter, void *ioBuffer) int CopyBufferToControlPacket(struct bcm_mini_adapter *Adapter, void *ioBuffer)
{ {
struct bcm_leader *pLeader = NULL; struct bcm_leader *pLeader = NULL;
INT Status = 0; int Status = 0;
unsigned char *ctrl_buff = NULL; unsigned char *ctrl_buff = NULL;
unsigned int pktlen = 0; unsigned int pktlen = 0;
struct bcm_link_request *pLinkReq = NULL; struct bcm_link_request *pLinkReq = NULL;
...@@ -543,7 +543,7 @@ void LinkControlResponseMessage(struct bcm_mini_adapter *Adapter, PUCHAR pucBuff ...@@ -543,7 +543,7 @@ void LinkControlResponseMessage(struct bcm_mini_adapter *Adapter, PUCHAR pucBuff
void SendIdleModeResponse(struct bcm_mini_adapter *Adapter) void SendIdleModeResponse(struct bcm_mini_adapter *Adapter)
{ {
INT status = 0, NVMAccess = 0, lowPwrAbortMsg = 0; int status = 0, NVMAccess = 0, lowPwrAbortMsg = 0;
struct timeval tv; struct timeval tv;
struct bcm_link_request stIdleResponse = {{0} }; struct bcm_link_request stIdleResponse = {{0} };
memset(&tv, 0, sizeof(tv)); memset(&tv, 0, sizeof(tv));
...@@ -583,7 +583,7 @@ void SendIdleModeResponse(struct bcm_mini_adapter *Adapter) ...@@ -583,7 +583,7 @@ void SendIdleModeResponse(struct bcm_mini_adapter *Adapter)
/* Wait for the LED to TURN OFF before sending ACK response */ /* Wait for the LED to TURN OFF before sending ACK response */
if (Adapter->LEDInfo.led_thread_running & BCM_LED_THREAD_RUNNING_ACTIVELY) { if (Adapter->LEDInfo.led_thread_running & BCM_LED_THREAD_RUNNING_ACTIVELY) {
INT iRetVal = 0; int iRetVal = 0;
/* Wake the LED Thread with IDLEMODE_ENTER State */ /* Wake the LED Thread with IDLEMODE_ENTER State */
Adapter->DriverState = LOWPOWER_MODE_ENTER; Adapter->DriverState = LOWPOWER_MODE_ENTER;
...@@ -1211,7 +1211,7 @@ int wrmalt(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned in ...@@ -1211,7 +1211,7 @@ int wrmalt(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned in
int rdmalt(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned int *pucBuff, size_t size) int rdmalt(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned int *pucBuff, size_t size)
{ {
INT uiRetVal = 0; int uiRetVal = 0;
uiRetVal = rdm(Adapter, uiAddress, (PUCHAR)pucBuff, size); uiRetVal = rdm(Adapter, uiAddress, (PUCHAR)pucBuff, size);
convertEndian(RWM_READ, (unsigned int *)pucBuff, size); convertEndian(RWM_READ, (unsigned int *)pucBuff, size);
...@@ -1221,7 +1221,7 @@ int rdmalt(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned in ...@@ -1221,7 +1221,7 @@ int rdmalt(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned in
int wrmWithLock(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, PCHAR pucBuff, size_t sSize) int wrmWithLock(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, PCHAR pucBuff, size_t sSize)
{ {
INT status = STATUS_SUCCESS; int status = STATUS_SUCCESS;
down(&Adapter->rdmwrmsync); down(&Adapter->rdmwrmsync);
if ((Adapter->IdleMode == TRUE) || if ((Adapter->IdleMode == TRUE) ||
...@@ -1260,7 +1260,7 @@ int wrmaltWithLock(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, uns ...@@ -1260,7 +1260,7 @@ int wrmaltWithLock(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, uns
int rdmaltWithLock(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned int *pucBuff, size_t size) int rdmaltWithLock(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, unsigned int *pucBuff, size_t size)
{ {
INT uiRetVal = STATUS_SUCCESS; int uiRetVal = STATUS_SUCCESS;
down(&Adapter->rdmwrmsync); down(&Adapter->rdmwrmsync);
if ((Adapter->IdleMode == TRUE) || if ((Adapter->IdleMode == TRUE) ||
...@@ -1346,7 +1346,7 @@ static void SendShutModeResponse(struct bcm_mini_adapter *Adapter) ...@@ -1346,7 +1346,7 @@ static void SendShutModeResponse(struct bcm_mini_adapter *Adapter)
/* Wait for the LED to TURN OFF before sending ACK response */ /* Wait for the LED to TURN OFF before sending ACK response */
if (Adapter->LEDInfo.led_thread_running & BCM_LED_THREAD_RUNNING_ACTIVELY) { if (Adapter->LEDInfo.led_thread_running & BCM_LED_THREAD_RUNNING_ACTIVELY) {
INT iRetVal = 0; int iRetVal = 0;
/* Wake the LED Thread with LOWPOWER_MODE_ENTER State */ /* Wake the LED Thread with LOWPOWER_MODE_ENTER State */
Adapter->DriverState = LOWPOWER_MODE_ENTER; Adapter->DriverState = LOWPOWER_MODE_ENTER;
...@@ -1412,7 +1412,7 @@ static void HandleShutDownModeRequest(struct bcm_mini_adapter *Adapter, PUCHAR p ...@@ -1412,7 +1412,7 @@ static void HandleShutDownModeRequest(struct bcm_mini_adapter *Adapter, PUCHAR p
} }
SendShutModeResponse(Adapter); SendShutModeResponse(Adapter);
BCM_DEBUG_PRINT (Adapter, DBG_TYPE_OTHERS, MP_SHUTDOWN, DBG_LVL_ALL, "ShutDownModeResponse:Notification received: Sending the response(Ack/Nack)\n"); BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, MP_SHUTDOWN, DBG_LVL_ALL, "ShutDownModeResponse:Notification received: Sending the response(Ack/Nack)\n");
} }
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, MP_SHUTDOWN, DBG_LVL_ALL, "<====\n"); BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, MP_SHUTDOWN, DBG_LVL_ALL, "<====\n");
...@@ -1498,7 +1498,7 @@ void update_per_cid_rx(struct bcm_mini_adapter *Adapter) ...@@ -1498,7 +1498,7 @@ void update_per_cid_rx(struct bcm_mini_adapter *Adapter)
void update_per_sf_desc_cnts(struct bcm_mini_adapter *Adapter) void update_per_sf_desc_cnts(struct bcm_mini_adapter *Adapter)
{ {
INT iIndex = 0; int iIndex = 0;
u32 uibuff[MAX_TARGET_DSX_BUFFERS]; u32 uibuff[MAX_TARGET_DSX_BUFFERS];
int bytes; int bytes;
......
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