Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tipc: rename the module name diag to tipc_diag

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>

authored by

Xin Long and committed by
Paolo Abeni
06e6bc1b b8189eeb

+2 -2
+2 -2
net/tipc/Makefile
··· 18 18 tipc-$(CONFIG_SYSCTL) += sysctl.o 19 19 tipc-$(CONFIG_TIPC_CRYPTO) += crypto.o 20 20 21 - 22 - obj-$(CONFIG_TIPC_DIAG) += diag.o 21 + obj-$(CONFIG_TIPC_DIAG) += tipc_diag.o 22 + tipc_diag-y += diag.o