net: hdlc_cisco: add some required spaces
authorPeng Li <lipeng321@huawei.com>
Wed, 2 Jun 2021 11:01:13 +0000 (19:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2021 20:27:36 +0000 (13:27 -0700)
Add spaces required after the close parenthesis '}'.
Add spaces required after that ','.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hdlc_cisco.c

index 227939dc78746e7f6d12edfbc8e3916f4a348c37..3f6a51af02a2a3f086f8f1b5187198a8fd0fc249 100644 (file)
@@ -32,7 +32,7 @@ struct hdlc_header {
        u8 address;
        u8 control;
        __be16 protocol;
-}__packed;
+} __packed;
 
 struct cisco_packet {
        __be32 type;            /* code */
@@ -40,7 +40,7 @@ struct cisco_packet {
        __be32 par2;
        __be16 rel;             /* reliability */
        __be32 time;
-}__packed;
+} __packed;
 #define        CISCO_PACKET_LEN        18
 #define        CISCO_BIG_PACKET_LEN    20
 
@@ -341,7 +341,8 @@ static int cisco_ioctl(struct net_device *dev, struct ifreq *ifr)
                    new_settings.timeout < 2)
                        return -EINVAL;
 
-               result = hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT);
+               result = hdlc->attach(dev, ENCODING_NRZ,
+                                     PARITY_CRC16_PR1_CCITT);
                if (result)
                        return result;