[Bug 268354] qlnxe(4) failed to build as kernel component

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 13 Dec 2022 13:12:17 UTC

            Bug ID: 268354
           Summary: qlnxe(4) failed to build as kernel component
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: sdalu@sdalu.com

When adding to the kernel configuration file the line mentioned in the man
   device qlnxe

The kernel fails to build with the following error:

In file included from /usr/src/sys/dev/qlnx/qlnxe/ecore_cxt.c:46:
/usr/src/sys/dev/qlnx/qlnxe/ecore.h:130:8: error: unknown type name
static OSAL_INLINE u32 DB_ADDR(u32 cid, u32 DEMS)

When building qlnxe as a module, there is no build problem

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