Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2025 00:41:48 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b769044f300a - main - nvmf: fix build with __assert_unreachable() addition to userland
Message-ID:  <202501130041.50D0fm6G033044@gitrepo.freebsd.org>

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

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

commit b769044f300a2e8534d0581f4fa7b4a296f038fa
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-01-13 00:41:25 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-01-13 00:41:37 +0000

    nvmf: fix build with __assert_unreachable() addition to userland
    
    <assert.h> now has a usable definition, so we don't need to shim it out
    in the nvmf header anymore.
    
    Reviewed by:    emaste, jhb
    Differential Revision:  https://reviews.freebsd.org/D48078
---
 sys/dev/nvmf/nvmf_tcp.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/dev/nvmf/nvmf_tcp.h b/sys/dev/nvmf/nvmf_tcp.h
index c60be0bc1024..03b5d2445928 100644
--- a/sys/dev/nvmf/nvmf_tcp.h
+++ b/sys/dev/nvmf/nvmf_tcp.h
@@ -9,7 +9,6 @@
 #define	__NVMF_TCP_H__
 
 #ifndef _KERNEL
-#define	__assert_unreachable	__unreachable
 #define	MPASS			assert
 #endif
 



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