From f7e0cd33768da44a59cbf18cc11d5820a2e4c173 Mon Sep 17 00:00:00 2001 From: Zhenlei Huang Date: Tue, 10 Dec 2024 01:14:08 +0800 Subject: [PATCH] routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type MFC after: 3 days (cherry picked from commit 12b2d68bed37e379929cd9b5e0afe34c387be360) --- sys/net/route/route_tables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/route/route_tables.c b/sys/net/route/route_tables.c index f1c96f813d9..1b1281c858d 100644 --- a/sys/net/route/route_tables.c +++ b/sys/net/route/route_tables.c @@ -322,7 +322,7 @@ vnet_rtables_init(const void *unused __unused) RTABLES_UNLOCK(); } VNET_SYSINIT(vnet_rtables_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH, - vnet_rtables_init, 0); + vnet_rtables_init, NULL); #ifdef VIMAGE static void @@ -361,7 +361,7 @@ rtables_destroy(const void *unused __unused) #endif } VNET_SYSUNINIT(rtables_destroy, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, - rtables_destroy, 0); + rtables_destroy, NULL); #endif static inline struct rib_head *