Staging: bcm: Fix line over 80 characters.
authorHeena Sirwani <heenasirwani@gmail.com>
Mon, 22 Sep 2014 05:41:45 +0000 (11:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Sep 2014 20:48:06 +0000 (13:48 -0700)
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>
drivers/staging/bcm/Adapter.h

index 1b2d9f3bd55a9783b8b7262a20f25f66b5d16590..a6b76d5ce088bffe623c4868328c371bd8890469 100644 (file)
@@ -43,8 +43,10 @@ union u_ip_address {
                ULONG ulIpv4Mask[MAX_IP_RANGE_LENGTH];
        };
        struct {
-               ULONG ulIpv6Addr[MAX_IP_RANGE_LENGTH * 4]; /* Source Ip Address Range */
-               ULONG ulIpv6Mask[MAX_IP_RANGE_LENGTH * 4]; /* Source Ip Mask Address Range */
+               /* Source Ip Address Range */
+               ULONG ulIpv6Addr[MAX_IP_RANGE_LENGTH * 4];
+               /* Source Ip Mask Address Range */
+               ULONG ulIpv6Mask[MAX_IP_RANGE_LENGTH * 4];
        };
        struct {
                UCHAR ucIpv4Address[MAX_IP_RANGE_LENGTH * IP_LENGTH_OF_ADDRESS];
@@ -57,8 +59,10 @@ union u_ip_address {
 };
 
 struct bcm_hdr_suppression_contextinfo {
-       UCHAR ucaHdrSuppressionInBuf[MAX_PHS_LENGTHS]; /* Intermediate buffer to accumulate pkt Header for PHS */
-       UCHAR ucaHdrSuppressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */
+       /* Intermediate buffer to accumulate pkt Header for PHS */
+       UCHAR ucaHdrSuppressionInBuf[MAX_PHS_LENGTHS];
+       /* Intermediate buffer containing pkt Header after PHS */
+       UCHAR ucaHdrSuppressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN];
 };
 
 struct bcm_classifier_rule {
@@ -67,12 +71,14 @@ struct bcm_classifier_rule {
        B_UINT16        uiClassifierRuleIndex;
        bool            bUsed;
        USHORT          usVCID_Value;
-       B_UINT8         u8ClassifierRulePriority; /* This field detemines the Classifier Priority */
+       /* This field detemines the Classifier Priority */
+       B_UINT8         u8ClassifierRulePriority;
        union u_ip_address      stSrcIpAddress;
        UCHAR           ucIPSourceAddressLength; /* Ip Source Address Length */
 
        union u_ip_address      stDestIpAddress;
-       UCHAR           ucIPDestinationAddressLength; /* Ip Destination Address Length */
+       /* Ip Destination Address Length */
+       UCHAR           ucIPDestinationAddressLength;
        UCHAR           ucIPTypeOfServiceLength; /* Type of service Length */
        UCHAR           ucTosLow; /* Tos Low */
        UCHAR           ucTosHigh; /* Tos High */
@@ -136,7 +142,8 @@ struct bcm_packet_info {
 
        B_UINT8         u8QueueType; /* BE or rtPS */
 
-       UINT            uiMaxBucketSize; /* maximum size of the bucket for the queue */
+       /* maximum size of the bucket for the queue */
+       UINT            uiMaxBucketSize;
        UINT            uiCurrentQueueDepthOnTarget;
        UINT            uiCurrentBytesOnHost;
        UINT            uiCurrentPacketsOnHost;
@@ -355,7 +362,8 @@ struct bcm_mini_adapter {
        UINT                    uiNVMDSDSize;
        UINT                    uiVendorExtnFlag;
        /* it will always represent chosen DSD at any point of time.
-        * Generally it is Active DSD but in case of NVM RD/WR it might be different.
+        * Generally it is Active DSD but in case of NVM RD/WR it
+        * might be different.
         */
        UINT                    ulFlashCalStart;
        ULONG                   ulFlashControlSectionStart;
@@ -372,25 +380,33 @@ struct bcm_mini_adapter {
        struct bcm_flash_cs_info *psFlashCSInfo;
        struct bcm_flash2x_vendor_info *psFlash2xVendorInfo;
        UINT                    uiFlashBaseAdd; /* Flash start address */
-       UINT                    uiActiveISOOffset; /* Active ISO offset chosen before f/w download */
+       /* Active ISO offset chosen before f/w download */
+       UINT                    uiActiveISOOffset;
        enum bcm_flash2x_section_val eActiveISO; /* Active ISO section val */
-       enum bcm_flash2x_section_val eActiveDSD; /* Active DSD val chosen before f/w download */
-       UINT                    uiActiveDSDOffsetAtFwDld;  /* For accessing Active DSD chosen before f/w download */
+       /* Active DSD val chosen before f/w download */
+       enum bcm_flash2x_section_val eActiveDSD;
+       /* For accessing Active DSD chosen before f/w download */
+       UINT                    uiActiveDSDOffsetAtFwDld;
        UINT                    uiFlashLayoutMajorVersion;
        UINT                    uiFlashLayoutMinorVersion;
        bool                    bAllDSDWriteAllow;
        bool                    bSigCorrupted;
-       /* this should be set who so ever want to change the Headers. after Write it should be reset immediately. */
+       /* this should be set who so ever want to change the Headers.
+        * after Write it should be reset immediately.
+        */
        bool                    bHeaderChangeAllowed;
        int                     SelectedChip;
        bool                    bEndPointHalted;
-       /* while bFlashRawRead will be true, Driver  ignore map lay out and consider flash as of without any map. */
+       /* while bFlashRawRead will be true, Driver
+        * ignore map lay out and consider flash as of without any map.
+        */
        bool                    bFlashRawRead;
        bool                    bPreparingForLowPowerMode;
        bool                    bDoSuspend;
        UINT                    syscfgBefFwDld;
        bool                    StopAllXaction;
-       UINT32                  liTimeSinceLastNetEntry; /* Used to Support extended CAPI requirements from */
+       /* Used to Support extended CAPI requirements from */
+       UINT32                  liTimeSinceLastNetEntry;
        struct semaphore        LowPowerModeSync;
        ULONG                   liDrainCalculated;
        UINT                    gpioBitMap;