Commit c1300f37 authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: hdlc_cisco: add some required spaces

Add spaces required after the close parenthesis '}'.
Add spaces required after that ','.
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 001aa274
...@@ -32,7 +32,7 @@ struct hdlc_header { ...@@ -32,7 +32,7 @@ struct hdlc_header {
u8 address; u8 address;
u8 control; u8 control;
__be16 protocol; __be16 protocol;
}__packed; } __packed;
struct cisco_packet { struct cisco_packet {
__be32 type; /* code */ __be32 type; /* code */
...@@ -40,7 +40,7 @@ struct cisco_packet { ...@@ -40,7 +40,7 @@ struct cisco_packet {
__be32 par2; __be32 par2;
__be16 rel; /* reliability */ __be16 rel; /* reliability */
__be32 time; __be32 time;
}__packed; } __packed;
#define CISCO_PACKET_LEN 18 #define CISCO_PACKET_LEN 18
#define CISCO_BIG_PACKET_LEN 20 #define CISCO_BIG_PACKET_LEN 20
...@@ -341,7 +341,8 @@ static int cisco_ioctl(struct net_device *dev, struct ifreq *ifr) ...@@ -341,7 +341,8 @@ static int cisco_ioctl(struct net_device *dev, struct ifreq *ifr)
new_settings.timeout < 2) new_settings.timeout < 2)
return -EINVAL; return -EINVAL;
result = hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT); result = hdlc->attach(dev, ENCODING_NRZ,
PARITY_CRC16_PR1_CCITT);
if (result) if (result)
return result; return result;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment