summaryrefslogtreecommitdiff
path: root/drivers/net/wan/hdlc_cisco.c
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-06-02 19:01:13 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-03 13:27:36 -0700
commitc1300f37ea99c92b1759caf3418afb491b6852ce (patch)
treee2f6817b285187ae4bb0819008434be123c632e0 /drivers/net/wan/hdlc_cisco.c
parent001aa274300db079fe79a03b84bc07407a9f43e0 (diff)
net: hdlc_cisco: add some required spaces
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>
Diffstat (limited to 'drivers/net/wan/hdlc_cisco.c')
-rw-r--r--drivers/net/wan/hdlc_cisco.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wan/hdlc_cisco.c b/drivers/net/wan/hdlc_cisco.c
index 227939dc7874..3f6a51af02a2 100644
--- a/drivers/net/wan/hdlc_cisco.c
+++ b/drivers/net/wan/hdlc_cisco.c
@@ -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;