Skip to content

Commit ca76178

Browse files
darbyShawgregkh
authored andcommitted
Staging: bcm: Fix line over 80 characters.
The following patch fixes the checkpatch.pl warning: WARNING: line over 80 characters Signed-off-by: Heena Sirwani <heenasirwani@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 38bb617 commit ca76178

1 file changed

Lines changed: 30 additions & 14 deletions

File tree

‎drivers/staging/bcm/Adapter.h‎

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ union u_ip_address {
4343
ULONG ulIpv4Mask[MAX_IP_RANGE_LENGTH];
4444
};
4545
struct {
46-
ULONG ulIpv6Addr[MAX_IP_RANGE_LENGTH * 4]; /* Source Ip Address Range */
47-
ULONG ulIpv6Mask[MAX_IP_RANGE_LENGTH * 4]; /* Source Ip Mask Address Range */
46+
/* Source Ip Address Range */
47+
ULONG ulIpv6Addr[MAX_IP_RANGE_LENGTH * 4];
48+
/* Source Ip Mask Address Range */
49+
ULONG ulIpv6Mask[MAX_IP_RANGE_LENGTH * 4];
4850
};
4951
struct {
5052
UCHAR ucIpv4Address[MAX_IP_RANGE_LENGTH * IP_LENGTH_OF_ADDRESS];
@@ -57,8 +59,10 @@ union u_ip_address {
5759
};
5860

5961
struct bcm_hdr_suppression_contextinfo {
60-
UCHAR ucaHdrSuppressionInBuf[MAX_PHS_LENGTHS]; /* Intermediate buffer to accumulate pkt Header for PHS */
61-
UCHAR ucaHdrSuppressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */
62+
/* Intermediate buffer to accumulate pkt Header for PHS */
63+
UCHAR ucaHdrSuppressionInBuf[MAX_PHS_LENGTHS];
64+
/* Intermediate buffer containing pkt Header after PHS */
65+
UCHAR ucaHdrSuppressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN];
6266
};
6367

6468
struct bcm_classifier_rule {
@@ -67,12 +71,14 @@ struct bcm_classifier_rule {
6771
B_UINT16 uiClassifierRuleIndex;
6872
bool bUsed;
6973
USHORT usVCID_Value;
70-
B_UINT8 u8ClassifierRulePriority; /* This field detemines the Classifier Priority */
74+
/* This field detemines the Classifier Priority */
75+
B_UINT8 u8ClassifierRulePriority;
7176
union u_ip_address stSrcIpAddress;
7277
UCHAR ucIPSourceAddressLength; /* Ip Source Address Length */
7378

7479
union u_ip_address stDestIpAddress;
75-
UCHAR ucIPDestinationAddressLength; /* Ip Destination Address Length */
80+
/* Ip Destination Address Length */
81+
UCHAR ucIPDestinationAddressLength;
7682
UCHAR ucIPTypeOfServiceLength; /* Type of service Length */
7783
UCHAR ucTosLow; /* Tos Low */
7884
UCHAR ucTosHigh; /* Tos High */
@@ -136,7 +142,8 @@ struct bcm_packet_info {
136142

137143
B_UINT8 u8QueueType; /* BE or rtPS */
138144

139-
UINT uiMaxBucketSize; /* maximum size of the bucket for the queue */
145+
/* maximum size of the bucket for the queue */
146+
UINT uiMaxBucketSize;
140147
UINT uiCurrentQueueDepthOnTarget;
141148
UINT uiCurrentBytesOnHost;
142149
UINT uiCurrentPacketsOnHost;
@@ -355,7 +362,8 @@ struct bcm_mini_adapter {
355362
UINT uiNVMDSDSize;
356363
UINT uiVendorExtnFlag;
357364
/* it will always represent chosen DSD at any point of time.
358-
* Generally it is Active DSD but in case of NVM RD/WR it might be different.
365+
* Generally it is Active DSD but in case of NVM RD/WR it
366+
* might be different.
359367
*/
360368
UINT ulFlashCalStart;
361369
ULONG ulFlashControlSectionStart;
@@ -372,25 +380,33 @@ struct bcm_mini_adapter {
372380
struct bcm_flash_cs_info *psFlashCSInfo;
373381
struct bcm_flash2x_vendor_info *psFlash2xVendorInfo;
374382
UINT uiFlashBaseAdd; /* Flash start address */
375-
UINT uiActiveISOOffset; /* Active ISO offset chosen before f/w download */
383+
/* Active ISO offset chosen before f/w download */
384+
UINT uiActiveISOOffset;
376385
enum bcm_flash2x_section_val eActiveISO; /* Active ISO section val */
377-
enum bcm_flash2x_section_val eActiveDSD; /* Active DSD val chosen before f/w download */
378-
UINT uiActiveDSDOffsetAtFwDld; /* For accessing Active DSD chosen before f/w download */
386+
/* Active DSD val chosen before f/w download */
387+
enum bcm_flash2x_section_val eActiveDSD;
388+
/* For accessing Active DSD chosen before f/w download */
389+
UINT uiActiveDSDOffsetAtFwDld;
379390
UINT uiFlashLayoutMajorVersion;
380391
UINT uiFlashLayoutMinorVersion;
381392
bool bAllDSDWriteAllow;
382393
bool bSigCorrupted;
383-
/* this should be set who so ever want to change the Headers. after Write it should be reset immediately. */
394+
/* this should be set who so ever want to change the Headers.
395+
* after Write it should be reset immediately.
396+
*/
384397
bool bHeaderChangeAllowed;
385398
int SelectedChip;
386399
bool bEndPointHalted;
387-
/* while bFlashRawRead will be true, Driver ignore map lay out and consider flash as of without any map. */
400+
/* while bFlashRawRead will be true, Driver
401+
* ignore map lay out and consider flash as of without any map.
402+
*/
388403
bool bFlashRawRead;
389404
bool bPreparingForLowPowerMode;
390405
bool bDoSuspend;
391406
UINT syscfgBefFwDld;
392407
bool StopAllXaction;
393-
UINT32 liTimeSinceLastNetEntry; /* Used to Support extended CAPI requirements from */
408+
/* Used to Support extended CAPI requirements from */
409+
UINT32 liTimeSinceLastNetEntry;
394410
struct semaphore LowPowerModeSync;
395411
ULONG liDrainCalculated;
396412
UINT gpioBitMap;

0 commit comments

Comments
 (0)