summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2018-02-13 19:33:20 +0800
committerDavid S. Miller <davem@davemloft.net>2018-02-13 13:56:31 -0500
commitff22b5bf78fe2a9f2a26950cc2ea180180bef47f (patch)
tree04585ed37ed98ec5263a1d359fe7d9032d5d9cc9
parent6c677750f22db3bb466a95f08b91a1cca8323146 (diff)
downloadlinux-ff22b5bf78fe2a9f2a26950cc2ea180180bef47f.tar.bz2
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>
-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