From nobody Tue May 14 04:04:52 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 4VdjRn0fV5z5KJPp; Tue, 14 May 2024 04:04:53 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VdjRm5SSjz4Y1x; Tue, 14 May 2024 04:04:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715659492; 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=MEp8+EeRXrW3q1/dEvNZ4tUrWwGuVH1TEZxN9yN1px0=; b=PVvC1cen+wwkVYlUMaMTifxA2xW1MgyKQMcoFFY44ytlQ8WfK34gAR+s3q+ZFYoagvFg9M tVZqn1r9WKgHB2Il1i67vlgrXSSN0viCH7MJjiAwo6WFuXWtHqPXYhs9VVp0Or9HEh97FT 9PwAROrnD6d2cOATQDwwi7KrC8QO1KBNUznV6qwVOhIXZLqS3pXfFMvw/DLzbbZadQ4DjZ Kjhd48BteXzn01cTt84wzNJsBLs5AZSc+JAvma3D1ti3JecN5Lg7AD3Iq0+tsCP3cyNgH3 3TBmivP1KO7dNUBVFjhd5VuKSyNa19kTfSvlBBMnNxE0pR+LJg5xNztGbo/6zg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715659492; a=rsa-sha256; cv=none; b=ZVrmLpTCfirfvj6epVgSf2qYbdyyAQlwKQ4Y1HHFwWAgb5W0Gl9B9NSRRf09oaOt6wPUEz b6v2Bpyt1CDaIDn75JRYLklNsnfcCzvxQpQw2llj0TMdAHo0KkFYD6sPrHzHc94Z9XfkEi GlEW2f03pMj4/C7m088vIy0sML1/zLfmcT71EAQnrJyt+bzQDfigKyhwVXjjeepn/Ztm4f LXOVWCWaCJdO8dXKkIMw4h5Rf7pYoSsXI583DNqvYaWKdDoUoVPTs/6vyVXf43XM0AcEZ2 wfTU3tbwIyFfIM173wvEROHcXLcccnoVVkb2uaMt4O759KG19E1uCeU4atgXKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715659492; 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=MEp8+EeRXrW3q1/dEvNZ4tUrWwGuVH1TEZxN9yN1px0=; b=O7Hm29jRSel7w7UiyYC7+WEj07nAaXo2ZcCBbOw5b5Z36WJiFssfJeHR7VJBb8wwL+ZHIr MpYmHmYyEUyEeatHlLP68AmyIq64aQIc6qgDvqk3ZWZ0GHLK6+CGfDh4/7AjoG0jdNMvXW yW4uglnI/QpEW9H/NHE6PzXtlpG3vMS/vTwQjYJs//Qp5jsKwRvTmhA6w37tzezbxnIfmW 6dxeCCfIFC8FW6ijsdYA1oMbLkcuZEPUxy2GIY663j2ro4LhWu1tcsY+tQ86D1WlJdGIWv iFI0ICBtQSGxzvCsdSeVLjbEqncnDzu115Ov90F/yua8SFbRjIXUYtt698atLw== 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 4VdjRm4v40zGFm; Tue, 14 May 2024 04:04:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44E44qDY018248; Tue, 14 May 2024 04:04:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44E44qhx018245; Tue, 14 May 2024 04:04:52 GMT (envelope-from git) Date: Tue, 14 May 2024 04:04:52 GMT Message-Id: <202405140404.44E44qhx018245@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: d9f1f0a90183 - main - boottrace: Use NULL for SYSINIT'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: d9f1f0a901831ff960380fe82a2abe99a3721f87 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=d9f1f0a901831ff960380fe82a2abe99a3721f87 commit d9f1f0a901831ff960380fe82a2abe99a3721f87 Author: Zhenlei Huang AuthorDate: 2024-05-14 04:03:50 +0000 Commit: Zhenlei Huang CommitDate: 2024-05-14 04:03:50 +0000 boottrace: Use NULL for SYSINIT's last arg, which is a pointer type MFC after: 3 days --- sys/kern/kern_boottrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_boottrace.c b/sys/kern/kern_boottrace.c index 86fee4f47fbe..1b097e7378ad 100644 --- a/sys/kern/kern_boottrace.c +++ b/sys/kern/kern_boottrace.c @@ -613,4 +613,4 @@ boottrace_init(void) st.table = malloc(st.size * sizeof(struct bt_event), M_BOOTTRACE, M_WAITOK | M_ZERO); } -SYSINIT(boottrace, SI_SUB_CPU, SI_ORDER_ANY, boottrace_init, 0); +SYSINIT(boottrace, SI_SUB_CPU, SI_ORDER_ANY, boottrace_init, NULL);