Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2024 02:21:31 GMT
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 23c1619970ab - stable/14 - cuse: Use NULL for SYSUNINIT's last arg, which is a pointer type
Message-ID:  <202412150221.4BF2LVpY081670@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=23c1619970ab1082b8275ffb914463f1c62c2f84

commit 23c1619970ab1082b8275ffb914463f1c62c2f84
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-12-09 17:14:07 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-12-15 02:20:53 +0000

    cuse: Use NULL for SYSUNINIT's last arg, which is a pointer type
    
    MFC after:      3 days
    
    (cherry picked from commit 6854a1488932cd043da940b87eb956d6df7d8522)
---
 sys/fs/cuse/cuse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c
index e32154654386..d63a7d4691cf 100644
--- a/sys/fs/cuse/cuse.c
+++ b/sys/fs/cuse/cuse.c
@@ -332,7 +332,7 @@ cuse_kern_uninit(void *arg)
 
 	mtx_destroy(&cuse_global_mtx);
 }
-SYSUNINIT(cuse_kern_uninit, SI_SUB_DEVFS, SI_ORDER_ANY, cuse_kern_uninit, 0);
+SYSUNINIT(cuse_kern_uninit, SI_SUB_DEVFS, SI_ORDER_ANY, cuse_kern_uninit, NULL);
 
 static int
 cuse_server_get(struct cuse_server **ppcs)



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