From nobody Tue Feb 22 05:41:17 2022 X-Original-To: bugs@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 9881D19D58ED for ; Tue, 22 Feb 2022 05:41:17 +0000 (UTC) (envelope-from bugzilla-noreply@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 4K2p1n2NMJz4vdb for ; Tue, 22 Feb 2022 05:41:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 329181E7F8 for ; Tue, 22 Feb 2022 05:41:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21M5fHY1074529 for ; Tue, 22 Feb 2022 05:41:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21M5fHtb074527 for bugs@FreeBSD.org; Tue, 22 Feb 2022 05:41:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262116] stable/13 kernel rtwn_usb module build error Date: Tue, 22 Feb 2022 05:41:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ota@j.email.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645508477; 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=FyRu8fSRhD6dUOtMt2UFX7O+V1e/cKAAquuA1X+46iY=; b=s2ZxjCll3lvO6vP6h0jp8qvX7a0KJcdzzYxWBPT8kk7gTGSXzf+TXu65a4cN+VNuRkIvYo taKvy1AC90wBerXDju82gQwPVi7+zWICU1wVBiS2Hv8CSPRY1b3x5iAgNY+afXldgGF7qh wTN+wp1mcjUd+cTpNppQuVvJQfSVYfijx9iBtoTnDR5y+rxFGVFkZ9THPo+4X2u8F+tgTJ XcLgTxrpT5ob3NCBW/gY725Ik/dbSCVkqzOILjFkNVhRtfkngznkYXy7SjOWhusCPSbOvA Y++fKrRJkGPnTDwI8JvZ+quPY7/lyef79wIp8iFQbqFIdftvbKsxbMIaait8uA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645508477; a=rsa-sha256; cv=none; b=qs+QVxamShABqnxinjBhH+JBLgI/xELncQduCijIug1Oxru33UTTW1nZaBOZ1r0EaUBKc9 rMcCQP3tCgMQzkRVMD6kFJwHHlI4BXu7/NYuBBLuH0ALFnEovAc2iVt+FzfvK+yoTXyBeF ET1exnwWgHh3bZTdkQFb8BvTtYTB3yaHDQrNK2Yca6rlDvemTk+AVGZAxYMqu8NOY6kiIg 90T32vr13cOpUWgnEoEaPCUron/ODHOZ6Am6p4MRz81fgm444z/nZbQfXbjfruwvPY7yA1 e5STuxH1oTiECVpGNf7T1NB5eiJlf9nvsPNWV+zbxmXvKPdLiLGRM0DEDkeLXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262116 Bug ID: 262116 Summary: stable/13 kernel rtwn_usb module build error Product: Base System Version: 13.0-STABLE Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ota@j.email.ne.jp i386 compilation of stable/13 results error as below. amd64 does not produce this error on stable/13. i386 on current does not produce this error, neither. I suppose there was a fix committed to the main branch but not yet merged to stable/13. git rev cc6f50fc371f6a04fd20dd4f4d08e5d3fcdf6319 % make -C /usr/src buildkernel In file included from /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.c:55: /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.h:123:2: error: use of undeclared identifier 'USB_PRODUCT_EDIMAX_EW7811UN_V2' RTWN_RTL8188EU_DEV(EDIMAX, EW7811UN_V2), ^ /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.h:118:28: note: expanded from mac= ro 'RTWN_RTL8188EU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8188E= U) } ^ :10:1: note: expanded from here USB_PRODUCT_EDIMAX_EW7811UN_V2 ^ In file included from /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.c:55: /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.h:148:2: error: use of undeclared identifier 'USB_VENDOR_TENDA2' RTWN_RTL8812AU_DEV(TENDA2, U12), ^ /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.h:134:12: note: expanded from mac= ro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :87:1: note: expanded from here USB_VENDOR_TENDA2 ^ In file included from /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.c:55: /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.h:148:2: error: use of undeclared identifier 'USB_PRODUCT_TENDA2_U12' /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.h:134:28: note: expanded from mac= ro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ :90:1: note: expanded from here USB_PRODUCT_TENDA2_U12 ^ /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.c:103:49: error: invalid applicat= ion of 'sizeof' to an incomplete type 'const struct usb_device_id []' return (usbd_lookup_id_by_uaa(rtwn_devs, sizeof(rtwn_devs), uaa)); ^~~~~~~~~~~ /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.c:490:1: error: invalid applicati= on of 'sizeof' to an incomplete type 'const struct usb_device_id []' USB_PNP_HOST_INFO(rtwn_devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/dev/usb/usbdi.h:346:12: note: expanded from macro 'USB_PNP_HOST_INFO' sizeof(table) / sizeof(table[0])) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/module.h:187:16: note: expanded from macro 'MODULE_PNP_INF= O' .num_entry =3D n \ ^ 5 errors generated. *** [rtwn_usb_attach.o] Error code 1 make[4]: stopped in /usr/src/sys/modules/rtwn_usb 1 error make[4]: stopped in /usr/src/sys/modules/rtwn_usb make[3]: stopped in /usr/src/sys/modules --=20 You are receiving this mail because: You are the assignee for the bug.=