Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

beeceem: Replace C99-style comments with C89 pendants in InterfaceTx.c

Checkpatch complains about the use of //-comments, thus they are replaced by C89-style comments.

Signed-off-by: Ralph Mueck <linux-kernel@rmueck.de>
Signed-off-by: Matthias Oefelein <ma.oefelein@arcor.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ralph Mueck and committed by
Greg Kroah-Hartman
4dcce62e d1c6c9ca

+10 -10
+10 -10
drivers/staging/bcm/InterfaceTx.c
··· 32 32 if (((pControlMsg->szData[0] == GO_TO_IDLE_MODE_PAYLOAD) && 33 33 (pControlMsg->szData[1] == TARGET_CAN_GO_TO_IDLE_MODE))) { 34 34 bpowerDownMsg = TRUE; 35 - //This covers the bus err while Idle Request msg sent down. 35 + /* This covers the bus err while Idle Request msg sent down. */ 36 36 if (urb->status != STATUS_SUCCESS) { 37 37 psAdapter->bPreparingForLowPowerMode = false; 38 38 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, NEXT_SEND, DBG_LVL_ALL, "Idle Mode Request msg failed to reach to Modem"); 39 - //Signalling the cntrl pkt path in Ioctl 39 + /* Signalling the cntrl pkt path in Ioctl */ 40 40 wake_up(&psAdapter->lowpower_mode_wait_queue); 41 41 StartInterruptUrb(psIntfAdapter); 42 42 goto err_exit; ··· 44 44 45 45 if (psAdapter->bDoSuspend == false) { 46 46 psAdapter->IdleMode = TRUE; 47 - //since going in Idle mode completed hence making this var false; 47 + /* since going in Idle mode completed hence making this var false */ 48 48 psAdapter->bPreparingForLowPowerMode = false; 49 49 50 50 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, NEXT_SEND, DBG_LVL_ALL, "Host Entered in Idle Mode State..."); 51 - //Signalling the cntrl pkt path in Ioctl 51 + /* Signalling the cntrl pkt path in Ioctl*/ 52 52 wake_up(&psAdapter->lowpower_mode_wait_queue); 53 53 } 54 54 ··· 56 56 (pControlMsg->szData[0] == LINK_UP_ACK) && 57 57 (pControlMsg->szData[1] == LINK_SHUTDOWN_REQ_FROM_FIRMWARE) && 58 58 (pControlMsg->szData[2] == SHUTDOWN_ACK_FROM_DRIVER)) { 59 - //This covers the bus err while shutdown Request msg sent down. 59 + /* This covers the bus err while shutdown Request msg sent down. */ 60 60 if (urb->status != STATUS_SUCCESS) { 61 61 psAdapter->bPreparingForLowPowerMode = false; 62 62 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, NEXT_SEND, DBG_LVL_ALL, "Shutdown Request Msg failed to reach to Modem"); 63 - //Signalling the cntrl pkt path in Ioctl 63 + /* Signalling the cntrl pkt path in Ioctl */ 64 64 wake_up(&psAdapter->lowpower_mode_wait_queue); 65 65 StartInterruptUrb(psIntfAdapter); 66 66 goto err_exit; ··· 69 69 bpowerDownMsg = TRUE; 70 70 if (psAdapter->bDoSuspend == false) { 71 71 psAdapter->bShutStatus = TRUE; 72 - //since going in shutdown mode completed hence making this var false; 72 + /* since going in shutdown mode completed hence making this var false */ 73 73 psAdapter->bPreparingForLowPowerMode = false; 74 74 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, NEXT_SEND, DBG_LVL_ALL, "Host Entered in shutdown Mode State..."); 75 - //Signalling the cntrl pkt path in Ioctl 75 + /* Signalling the cntrl pkt path in Ioctl */ 76 76 wake_up(&psAdapter->lowpower_mode_wait_queue); 77 77 } 78 78 } 79 79 80 80 if (psAdapter->bDoSuspend && bpowerDownMsg) { 81 - //issuing bus suspend request 81 + /* issuing bus suspend request */ 82 82 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, NEXT_SEND, DBG_LVL_ALL, "Issuing the Bus suspend request to USB stack"); 83 83 psIntfAdapter->bPreparingForBusSuspend = TRUE; 84 84 schedule_work(&psIntfAdapter->usbSuspendWork); ··· 129 129 urb->transfer_buffer_length = len; 130 130 131 131 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_TX, NEXT_SEND, DBG_LVL_ALL, "Sending Bulk out packet\n"); 132 - //For T3B,INT OUT end point will be used as bulk out end point 132 + /* For T3B,INT OUT end point will be used as bulk out end point */ 133 133 if ((psIntfAdapter->psAdapter->chip_id == T3B) && (psIntfAdapter->bHighSpeedDevice == TRUE)) { 134 134 usb_fill_int_urb(urb, psIntfAdapter->udev, 135 135 psIntfAdapter->sBulkOut.bulk_out_pipe,