From nobody Fri Apr 29 03:33:54 2022 X-Original-To: arm@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 E10791AA9FF5 for ; Fri, 29 Apr 2022 03:34:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-8.consmr.mail.gq1.yahoo.com (sonic315-8.consmr.mail.gq1.yahoo.com [98.137.65.32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KqJ4W1PB3z3NfM for ; Fri, 29 Apr 2022 03:34:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651203241; bh=AInJasH+YSK4rxjAx5dV7Te32giu6Q9tE2z63S3+Rhc=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=lAth9PWfxU37KdcgRHdMfUbJQqI6oue4QJGXFcC+XaVWi0YBT3o8aNOv7Nypk0oic1JgPGEqnrAW29ri/FJg2Qjl+sUcb7ZVNqPalv0yoabkJeimwj9LW2gt3KCrqshxgOQDgpA3/moPsYnJ6aicYVSNtcwZnZ3Fq/uoYoX3v4UFi/AAAPxSBk5K26UmmmCO/5JupPdehbuNizENtPPoXjEiWxIOkSPmhLtVOrkYzUzxo4JJtMU6w+HKO++Pd8pUqeM+UEEGbizfS58/hFXyPjKaREcmbPDcXOxy3WJhkgCLvwgEPqvmQXC6zQG8rl9afhS0vagSJkrNGQ1x2fx54w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651203241; bh=nx/r7OAb33szMhXtk07q2TkZfvyuAeYgiR/GPldFqzJ=; h=X-Sonic-MF:From:Subject:Date:To:From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F1F73EZXzaj0QtKLAFDYjiqnURq3oU43dsyuwK9ri yf0_hlq.kCQ62gedeebDLzZYNHVfLbSORYcWqRxqNxWR1J9U61YA.uGDWaG_1xTuAFtRdQ2yBUO1 XpXLPvTQLDQvtNBOGVMWXJXMOPElxZbzZdpnnMHANXjnnESl_xWg1AQ8XbWq5yu5c.httwLBgIXf GYMYfGyRKjPKXpnqGqOJ6j1acxANsbt63LO1Nl6gA_6db9mpkM0jEJx00Ax8VKwcUmtRiBMJfp17 bQdXx87.Ri07zIEo1C7aaRqJsBiRJXjCfPGVAQnKIvXbuk_822kg26mvvBQlHzrMk6t8S9RbNmDV 74XajqIVG6I16dZJMFF92O5zAEKAc8ivLEh_QZ.pU2DqTNcmbkzwFvpFs2JMJI_KB8ePaBfw7oz6 CcfA2C1IchsladJCt9p6K0y1IsXUrQCfLSCVZSG2fJwvBaIDgCZ6By6IfJMN2_ljIzAhZf3sdn8l fteZRDME3OINSHStx0wD8dkjpOOyTtboaZQFq5C2fr_aC5hkniboRu6pf_VRnmBr46_hIjJT73ce ID702jg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Fri, 29 Apr 2022 03:34:01 +0000 Received: by hermes--canary-production-bf1-5f4c6455f8-rlf6p (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9d6a87c330764699ade55e78f8045f66; Fri, 29 Apr 2022 03:33:57 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: sys/arm/broadcom/bcm2835/bcm2838_xhci.c:184:21: error: variable 'sc' set but not used [-Werror,-Wunused-but-set-variable] Message-Id: Date: Thu, 28 Apr 2022 20:33:54 -0700 Cc: "freebsd-arm@freebsd.org" To: freebsd-current X-Mailer: Apple Mail (2.3654.120.0.1.13) References: X-Rspamd-Queue-Id: 4KqJ4W1PB3z3NfM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=lAth9PWf; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.48 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.32:from]; NEURAL_HAM_SHORT(-0.98)[-0.979]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MLMMJ_DEST(0.00)[arm]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-ThisMailContainsUnwantedMimeParts: N In attempting to update from main-n253904-4d1ba6febfa7 based to main-n255108-9fb40baf6043 based, targeting aarch64, the following code from sys/arm/broadcom/bcm2835/bcm2838_xhci.c was rejected: static int bcm_xhci_attach(device_t dev) { struct xhci_softc *sc; int error; sc =3D device_get_softc(dev); bcm_xhci_install_xhci_firmware(dev); error =3D xhci_pci_attach(dev); return (error); } as follows: --- bcm2838_xhci.o --- /usr/main-src/sys/arm/broadcom/bcm2835/bcm2838_xhci.c:184:21: error: = variable 'sc' set but not used [-Werror,-Wunused-but-set-variable] struct xhci_softc *sc; ^ Building = /usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENER= IC-NODBG-CA72/imx_i2c.o 1 error generated. *** [bcm2838_xhci.o] Error code 1 make[2]: stopped in = /usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENER= IC-NODBG-CA72 .ERROR_TARGET=3D'bcm2838_xhci.o' = .ERROR_META_FILE=3D'/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm= 64.aarch64/sys/GENERIC-NODBG-CA72/bcm2838_xhci.o.meta' .MAKE.LEVEL=3D'2' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose curdirOk=3Dyes' _ERROR_CMD=3D'cc -target aarch64-unknown-freebsd14.0 = --sysroot=3D/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch= 64/tmp = -B/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/tmp/usr= /bin -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. = -I/usr/main-src/sys -I/usr/main-src/sys/contrib/ck/include = -I/usr/main-src/sys/contrib/libfdt = -I/usr/main-src/sys/contrib/device-tree/include -D_KERNEL = -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common = -mcpu=3Dcortex-a72 -DLINUX_DTS_VERSION=3D\""5.13"\" = -mstack-protector-guard=3Dsysreg -mstack-protector-guard-reg=3Dsp_el0 = -mstack-protector-guard-offset=3D0 -fno-omit-frame-pointer = -mno-omit-leaf-frame-pointer = -fdebug-prefix-map=3D./machine=3D/usr/main-src/sys/arm64/include = -mgeneral-regs-only -ffixed-x18 -ffreestanding -fwrapv -fstack-protector = -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign = -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs = -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body = -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function = -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value = -Wno-address-of-packed-member -Wno-format-zero-length -mcpu=3Dcortex-a72= -std=3Diso9899:1999 -Werror = /usr/main-src/sys/arm/broadcom/bcm2835/bcm2838_xhci.c; ctfconvert -L = VERSION -g bcm2838_xhci.o;' = .CURDIR=3D'/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch6= 4/sys/GENERIC-NODBG-CA72' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch6= 4/sys/GENERIC-NODBG-CA72' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'arm64' MACHINE_ARCH=3D'aarch64' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/main-src/share/mk' MAKE_VERSION=3D'20220208' = PATH=3D'/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/t= mp/bin:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/tm= p/usr/sbin:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch6= 4/tmp/usr/bin:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aar= ch64/tmp/legacy/usr/sbin:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-sr= c/arm64.aarch64/tmp/legacy/usr/bin:/usr/obj/BUILDs/main-CA72-nodbg-clang/u= sr/main-src/arm64.aarch64/tmp/legacy/bin:/usr/obj/BUILDs/main-CA72-nodbg-c= lang/usr/main-src/arm64.aarch64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sb= in:/usr/bin' SRCTOP=3D'/usr/main-src' OBJTOP=3D'/usr/main-src' .MAKE.MAKEFILES=3D'/usr/main-src/share/mk/sys.mk = /usr/main-src/share/mk/local.sys.env.mk = /usr/main-src/share/mk/src.sys.env.mk = /usr/home/root/src.configs/src.conf.CA72-nodbg-clang.aarch64-host = /usr/main-src/share/mk/bsd.mkopt.mk = /usr/main-src/share/mk/src.sys.obj.mk /usr/main-src/share/mk/auto.obj.mk = /usr/main-src/share/mk/bsd.suffixes.mk = /usr/home/root/src.configs/make.conf /usr/main-src/share/mk/local.sys.mk = /usr/main-src/share/mk/src.sys.mk /dev/null Makefile = /usr/main-src/sys/conf/kern.pre.mk /usr/main-src/share/mk/bsd.own.mk = /usr/main-src/share/mk/bsd.opts.mk /usr/main-src/share/mk/bsd.cpu.mk = /usr/main-src/share/mk/bsd.compiler.mk = /usr/main-src/share/mk/bsd.endian.mk = /usr/main-src/share/mk/bsd.linker.mk /usr/main-src/sys/conf/kern.opts.mk = /usr/main-src/sys/conf/kern.post.mk /usr/main-src/sys/conf/kern.mk' .PATH=3D'. = /usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENER= IC-NODBG-CA72' 1 error =3D=3D=3D Mark Millard marklmi at yahoo.com