summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-06-04 09:32:10 +0200
committerDavid S. Miller <davem@davemloft.net>2021-06-04 23:34:17 +0200
commit5de446075c8e8c218302f8f819db88ccf0584aed (patch)
treeb87215e7946e289f460ec24cdd0c7801804ccc63
parentnet: hdlc_x25: move out assignment in if condition (diff)
downloadlinux-5de446075c8e8c218302f8f819db88ccf0584aed.tar.xz
linux-5de446075c8e8c218302f8f819db88ccf0584aed.zip
net: hdlc_x25: add some required spaces
Add spaces required around that '='. Add space 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>
-rw-r--r--drivers/net/wan/hdlc_x25.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wan/hdlc_x25.c b/drivers/net/wan/hdlc_x25.c
index 24fdb6c8b840..4e771f789e10 100644
--- a/drivers/net/wan/hdlc_x25.c
+++ b/drivers/net/wan/hdlc_x25.c
@@ -333,7 +333,8 @@ static int x25_ioctl(struct net_device *dev, struct ifreq *ifr)
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;