Prev: [PATCH 02/15] Staging: winbond: Replace C99 comments with C88
Next: [PATCH 09/15] Staging: winbond: Fix spacing around brackets and pointers.
From: Mike Sheldon on 26 May 2010 19:50 Patches wb35rx_s.h to correct the spacing around brackets and pointers as reported by checkpatch.pl Signed-off-by: Mike Sheldon <mike(a)mikeasoft.com> --- drivers/staging/winbond/wb35rx_s.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/winbond/wb35rx_s.h b/drivers/staging/winbond/wb35rx_s.h index 4b03274..7230a44 100644 --- a/drivers/staging/winbond/wb35rx_s.h +++ b/drivers/staging/winbond/wb35rx_s.h @@ -19,9 +19,9 @@ struct wb35_rx { u32 ByteReceived;// For calculating throughput of BulkIn atomic_t RxFireCounter;// Does Wb35Rx module fire? - u8 RxBuffer[ MAX_USB_RX_BUFFER_NUMBER ][ ((MAX_USB_RX_BUFFER+3) & ~0x03 ) ]; - u16 RxBufferSize[ ((MAX_USB_RX_BUFFER_NUMBER+1) & ~0x01) ]; - u8 RxOwner[ ((MAX_USB_RX_BUFFER_NUMBER+3) & ~0x03 ) ];//Ownership of buffer 0: SW 1:HW + u8 RxBuffer[MAX_USB_RX_BUFFER_NUMBER][((MAX_USB_RX_BUFFER+3) & ~0x03)]; + u16 RxBufferSize[((MAX_USB_RX_BUFFER_NUMBER+1) & ~0x01)]; + u8 RxOwner[((MAX_USB_RX_BUFFER_NUMBER+3) & ~0x03)];//Ownership of buffer 0: SW 1:HW u32 RxProcessIndex;//The next index to process u32 RxBufferId; @@ -36,9 +36,9 @@ struct wb35_rx { u32 Rx3UrbCancel; u32 LastR1; // For RSSI reporting - struct urb * RxUrb; + struct urb *RxUrb; u32 Ep3ErrorCount2; // 20060625.1 Usbd for Rx DMA error count int EP3VM_status; - u8 * pDRx; + u8 *pDRx; }; -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |