summaryrefslogtreecommitdiffstats
path: root/net/decnet/af_decnet.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-11-13 15:18:17 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-17 04:42:49 +0100
commit99310e732a75c40fc9843f52b306fc9943bcce9d (patch)
treec603c6e5a33e3d3e06a6639c48642dd5506e3c0d /net/decnet/af_decnet.c
parentnet: hns3: fix spelling mistake "failded" -> "failed" (diff)
downloadlinux-99310e732a75c40fc9843f52b306fc9943bcce9d.tar.xz
linux-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/af_decnet.c')
-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) {