summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2018-02-13 12:33:20 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-13 19:56:31 +0100
commitff22b5bf78fe2a9f2a26950cc2ea180180bef47f (patch)
tree04585ed37ed98ec5263a1d359fe7d9032d5d9cc9 /net/sctp
parentmlxsw: spectrum: Use NL_SET_ERR_MSG_MOD (diff)
downloadlinux-ff22b5bf78fe2a9f2a26950cc2ea180180bef47f.tar.xz
linux-ff22b5bf78fe2a9f2a26950cc2ea180180bef47f.zip
sctp: rename sctp_diag.c as diag.c
Remove 'sctp_' prefix for diag file, to keep consistent with other files' names. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/Makefile2
-rw-r--r--net/sctp/diag.c (renamed from net/sctp/sctp_diag.c)0
2 files changed, 2 insertions, 0 deletions
diff --git a/net/sctp/Makefile b/net/sctp/Makefile
index 6776582ec449..e845e4588535 100644
--- a/net/sctp/Makefile
+++ b/net/sctp/Makefile
@@ -15,6 +15,8 @@ sctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \
offload.o stream_sched.o stream_sched_prio.o \
stream_sched_rr.o stream_interleave.o
+sctp_diag-y := diag.o
+
sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
sctp-$(CONFIG_PROC_FS) += proc.o
sctp-$(CONFIG_SYSCTL) += sysctl.o
diff --git a/net/sctp/sctp_diag.c b/net/sctp/diag.c
index a72a7d925d46..a72a7d925d46 100644
--- a/net/sctp/sctp_diag.c
+++ b/net/sctp/diag.c