Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2024 17:14:48 GMT
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 12b2d68bed37 - main - routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type
Message-ID:  <202412091714.4B9HEmNI030913@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=12b2d68bed37e379929cd9b5e0afe34c387be360

commit 12b2d68bed37e379929cd9b5e0afe34c387be360
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-12-09 17:14:08 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-12-09 17:14:08 +0000

    routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type
    
    MFC after:      3 days
---
 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 da829503b846..176ca43fa1c5 100644
--- a/sys/net/route/route_tables.c
+++ b/sys/net/route/route_tables.c
@@ -314,7 +314,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
@@ -353,7 +353,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 *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412091714.4B9HEmNI030913>