Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2022 08:30:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 262141] Pervasive Typo Issue in SRC NVMe Code
Message-ID:  <bug-262141-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262141

            Bug ID: 262141
           Summary: Pervasive Typo Issue in SRC NVMe Code
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: fgorter@gmail.com

Hello All,

Found something of a nasty typo in the following 3 branches (all AMD64,
possibly more...) 13.0-RELEASE, 13.0-STABLE and 14-CURRENT (still present, =
just
checked 5 mins ago)
The file involved is located at /usr/include/dev/nvme/nvme.h
The issue can be found around line 1284-ish, specifically:

NVME_LOG_ASYMMETRIC_NAMESPAVE_ACCESS =3D 0x0c,

To the most OCD-afflicted of us, will find the obvious typo, that NAMESPACE=
 is
*not* spelled with a "V".
The issue revealed itself to me while attempting to build
/usr/ports/sysutils/bhyve+/ on a 14-CURRENT machine and complaints about
"NVME_LOG_ASYMMETRIC_NAMESPAVE_ACCESS" caused a break in the port build.

The fix is obviously simple, replace NVME_LOG_ASYMMETRIC_NAMESPAVE_ACCESS w=
ith
NVME_LOG_ASYMMETRIC_NAMESPACE_ACCESS, note the word NAMESPACE is spelled wi=
th a
"C".

Hope this helps the community.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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