From nobody Mon Dec 09 17:14:49 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y6T4p0q8Xz5gXsy; Mon, 09 Dec 2024 17:14:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y6T4n6gMYz4gTM; Mon, 9 Dec 2024 17:14:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733764489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7CBl/TnYXa1fVKHPD5hXLe6mtl34jtLhQ/nLmvk3zdw=; b=oWhpIXvMxmKPV74CR4dWiL78K4Ng2NlSJ/nCFea9rkSBLptC9eCX2pdqUFhsQF1YzkGLVX +SfjJ5Rh1OJa+s1yur8XONs6VFuYnLFhQ567HCAK0G7NG1TQJVgt8ZNqpEDIOOHJ3D6fRR NRQusCMrBW5+soZE6srH5NTuGNVC4gqzSOQUM10nXhG6n2oTF/NnXoP6g1XczeytSl8GDM gjARRhvvsJi6/0z+C/NJntNzX7tFQIy9R/mUeYjHEYoTkuhAXQSuB1EMvmSxExongvY67/ oPm0S86SPN3J4st6iZ39+ifBhFCNljahgEAZty2Ndshn7kBANF3l7wB8unw7zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733764489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7CBl/TnYXa1fVKHPD5hXLe6mtl34jtLhQ/nLmvk3zdw=; b=IPxwxA/KAUZTGuoz7XhEpaSIwUsMIHkCJY9jplpl4X9ctacwMbT6RywQIcIgwlJpOErBnv HDgL+Fxg9AhqAlb5qL2Mh8PJIbxQ4XgxNDWdTuqLQGJhGtMF5sbKEBv/rBuZ+mVQZdPvMK MI7jtIdo2RhQ3hXByx9pN3N4nRjne0W9ojRLu6ok6hTDQ5t7sHvbxdxgubZI2JdFZ7qTdr Hy1O19fcSgkU0e2kyTqUZx6g7RjUNc5SGlKLfrBCNKatOhE84RuWTatvRmdtzyFZH/e84H dFk1LHJA8QbbQIhSnUMCAsQ/haG46l/u+PXoTvFQWTylYjvEoKE4hIRjvd0Kyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733764489; a=rsa-sha256; cv=none; b=anwfrr9btEybUg5VCnKs4O1frFj3F7gq/WgnaUeGRoz25MRhExSRj2SvmI3WPseaJRXP47 QB9GAXdJOz0z6tEDwYsrVRI7HkhPRWqgJ4XnOiNK0by0iKqEJQ/TEfYbcWZIAm7rEfTIsy cYP8M3zgmk6q99J68JCYUSs+Lwj/+G0CoMch302Me1F6OdLdQKA1eS9NkEzTuSHYe+tkgc D++muQV0ZSHFRjVEDgwQ5E+GQM0Gmata1iASjuoZZqZ/lFx47xyaTFs2At2WPQfBX1GvJX uheY8umd7oeGtnF7Iq63jYXVdpZVe0XRYZ5IafTJJi6so9UT1nn2+cas8KDznQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y6T4n66T1zmDf; Mon, 9 Dec 2024 17:14:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B9HEnxF030996; Mon, 9 Dec 2024 17:14:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B9HEnBE030993; Mon, 9 Dec 2024 17:14:49 GMT (envelope-from git) Date: Mon, 9 Dec 2024 17:14:49 GMT Message-Id: <202412091714.4B9HEnBE030993@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: adc573c8e217 - main - rtsock: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: adc573c8e2179310777cef4d6bda19db2ae63dd5 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=adc573c8e2179310777cef4d6bda19db2ae63dd5 commit adc573c8e2179310777cef4d6bda19db2ae63dd5 Author: Zhenlei Huang AuthorDate: 2024-12-09 17:14:08 +0000 Commit: Zhenlei Huang CommitDate: 2024-12-09 17:14:08 +0000 rtsock: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type MFC after: 3 days --- sys/net/rtsock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index a5395dcf1469..ce5ec9ce22af 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -261,7 +261,7 @@ vnet_rts_init(void) #endif } VNET_SYSINIT(vnet_rtsock, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, - vnet_rts_init, 0); + vnet_rts_init, NULL); #ifdef VIMAGE static void @@ -271,7 +271,7 @@ vnet_rts_uninit(void) netisr_unregister_vnet(&rtsock_nh); } VNET_SYSUNINIT(vnet_rts_uninit, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, - vnet_rts_uninit, 0); + vnet_rts_uninit, NULL); #endif static void