tipc: rename the module name diag to tipc_diag
authorXin Long <lucien.xin@gmail.com>
Fri, 2 Feb 2024 20:11:09 +0000 (15:11 -0500)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 6 Feb 2024 12:47:36 +0000 (13:47 +0100)
It is not appropriate for TIPC to use "diag" as its diag module name
while the other protocols are using "$(protoname)_diag" like tcp_diag,
udp_diag and sctp_diag etc.

So this patch is to rename diag.ko to tipc_diag.ko in tipc's Makefile.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Link: https://lore.kernel.org/r/d909edeef072da1810bd5869fdbbfe84411efdb2.1706904669.git.lucien.xin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/tipc/Makefile

index ee49a9f1dd4fe071edf7e02aa6371f3fd3442ef0..18e1636aa036c93e439dfe4d2996756e3b9a6b23 100644 (file)
@@ -18,5 +18,5 @@ tipc-$(CONFIG_TIPC_MEDIA_IB)  += ib_media.o
 tipc-$(CONFIG_SYSCTL)          += sysctl.o
 tipc-$(CONFIG_TIPC_CRYPTO)     += crypto.o
 
-
-obj-$(CONFIG_TIPC_DIAG)        += diag.o
+obj-$(CONFIG_TIPC_DIAG)        += tipc_diag.o
+tipc_diag-y    += diag.o