From nobody Sat Nov 05 04:41:11 2022 X-Original-To: dev-commits-src-all@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 4N44ZJ0c4Mz4ggNG; Sat, 5 Nov 2022 04:41:12 +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 4N44ZH4zqHz3kvJ; Sat, 5 Nov 2022 04:41:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667623271; 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=76xLcMy5QlQfH0WARn/mq+Qro92xX7OFaIkGbLT1Zww=; b=Ohlx+SNC/EtIsWCKe4tduXothOoC1YN/YRYBLEW56OfsPNlDtOPgOg7vPDejZq8IltPKMM dcd0iLI2rFEAGeknPTsi2nrd9w/CsA0tEUwtoaGx/DaXyK9F0R+a5zZGsVIIXyYRSW53RC dqSXCnpwq3Z2iFd6znFR86tlU7Giidyk9MGnlHqmdNVIJyFGapof4HtHla/gKNfYPm8kHi O5kUI2rx+n4/PIQFrke36G7z6X3J7mKB3i0pmjZ6V6wUOUuIPmePihJZ2GcXZBXHlN0fLS aLV+Pem81QID39uUrRUBMryi2S94WykheULr8ODU61Rk+FZGSMjUKU5bqV3f9A== 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 4N44ZH43wJzSmn; Sat, 5 Nov 2022 04:41:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A54fBKk026015; Sat, 5 Nov 2022 04:41:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A54fBct026014; Sat, 5 Nov 2022 04:41:11 GMT (envelope-from git) Date: Sat, 5 Nov 2022 04:41:11 GMT Message-Id: <202211050441.2A54fBct026014@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: eb40e3e757a7 - main - bnxt: Only filter out i386 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eb40e3e757a7eb80c2b5c38ce05fc4b411b369f9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667623271; 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=76xLcMy5QlQfH0WARn/mq+Qro92xX7OFaIkGbLT1Zww=; b=mQn8xXnW3E/BbpqjXV8Fvp9dQB8iiPJNq3p2H+2lxQ6CNbdNZkes0kTvhFzD3G43YE8W+f lKP/P6/r7v2idR768WH1lU8DBTx5vZrIJLpmDmIjgaAj/4QjT9O+XKlIaWIG65iNpc3zQe LSpv3M68nkZH8gmxO0qLqW/IrLtYdNqK6yRxgBgrsXUdY5waeDHtogFQSDL6yJDMmR0LDr cLJvKTTLjqfdgThXePdyMk5RhJExNM6fHUSKbYucSJ+z2bFjdzaLX7iwiIQCddfPVXlcD9 ZtRBGO3UPsjQ3lm7U7Kqc1lBHcGi9MEM9knoRP+ONkSxCKYd1X9MttzWxvXADQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667623271; a=rsa-sha256; cv=none; b=E6o7cXhPnh40Qe3zWfiBN0daARJHTNXGBEh8A6rgSfvIQPVMegKTSJaSrDzRCJMeueQ8dI KosqdV51pBSqymlpD2c11GvY+LdIfV1sCgzB7ppNJbRIuwcuVHsQ1mMs6bia6GeIfAZccN FgGwdOj0c6g5VHsQE71aWX3egD1/25QXbccA8JzBcQaKHfkYghzwBZHv5RkNK1lwJtOe8/ 3yIYvLWNuQQIDUuztJICeChnEDU2FQXzxulRPkQzz+r6NcRkxm838dWHr93mv203sgeKge 0/ulYLeyGD+VLKhW0idRKtjs9SBSRU2ccco13FfNfiq3boJzwGT1BSeIc01x8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=eb40e3e757a7eb80c2b5c38ce05fc4b411b369f9 commit eb40e3e757a7eb80c2b5c38ce05fc4b411b369f9 Author: Warner Losh AuthorDate: 2022-11-05 04:35:37 +0000 Commit: Warner Losh CommitDate: 2022-11-05 04:40:00 +0000 bnxt: Only filter out i386 Only i386 is missing bus_read_8. The other 32-bit platforms can be fixed with a cast to a printf. Suggested by: kevans Sponsored by: Netflix --- sys/dev/bnxt/bnxt_hwrm.c | 2 +- sys/modules/Makefile | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/dev/bnxt/bnxt_hwrm.c b/sys/dev/bnxt/bnxt_hwrm.c index c362e01a1f8b..efea33327dc7 100644 --- a/sys/dev/bnxt/bnxt_hwrm.c +++ b/sys/dev/bnxt/bnxt_hwrm.c @@ -1483,7 +1483,7 @@ bnxt_hwrm_l2_filter_alloc(struct bnxt_softc *softc, uint16_t vlan_tag, if (*filter_id != -1) { device_printf(softc->dev, "Attempt to re-allocate l2 ctx " - "filter (fid: 0x%lx)\n", *filter_id); + "filter (fid: 0x%jx)\n", (uintmax_t)*filter_id); return EDOOFUS; } diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 091fa7543164..7655260e8e46 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -425,8 +425,7 @@ SUBDIR+= opensolaris .endif # Requires bus_space_read_8 -.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "aarch64" || \ - ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "powerpc64le" +.if ${MACHINE_ARCH} != "i386" _bnxt= bnxt .endif