aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-11-13 14:18:17 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-16 19:42:49 -0800
commit99310e732a75c40fc9843f52b306fc9943bcce9d (patch)
treec603c6e5a33e3d3e06a6639c48642dd5506e3c0d /net/decnet
parentnet: hns3: fix spelling mistake "failded" -> "failed" (diff)
downloadlinux-dev-99310e732a75c40fc9843f52b306fc9943bcce9d.tar.xz
linux-dev-99310e732a75c40fc9843f52b306fc9943bcce9d.zip
net/decnet: add missing indentation
There is a missing indentation before the declaration of port. Add it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
-rw-r--r--net/decnet/af_decnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c
index 7d6ff983ba2c..7aab5d088c72 100644
--- a/net/decnet/af_decnet.c
+++ b/net/decnet/af_decnet.c
@@ -192,7 +192,7 @@ static int check_port(__le16 port)
static unsigned short port_alloc(struct sock *sk)
{
struct dn_scp *scp = DN_SK(sk);
-static unsigned short port = 0x2000;
+ static unsigned short port = 0x2000;
unsigned short i_port = port;
while(check_port(cpu_to_le16(++port)) != 0) {