From nobody Thu Oct 27 17:03:41 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 4MysT94G76z4gWw4; Thu, 27 Oct 2022 17:03:41 +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 4MysT93mZdz3vkS; Thu, 27 Oct 2022 17:03:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666890221; 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=EyLlAWysdvrNCSCxgt6YdkYe6P2HAeT7Y7zeIMBrLMc=; b=V35OBBO5Vh0eC7ODggNnwMMkvKw4XsAIBdp9tdgKQrW60+exSFWvt+VsEAgaqwF/HH1PNM RtMop2JKQF6FSDu++334gKjBKhHZ99uMYtwGAOy2nUwjV/PO35k3AZgxO2qYsMPc0b0w5v XlkYL2qdfhbqSKYcXFSboxDUUpG9mKDs2Q+t+15ObcBvNdQDbtUoSvj7hlOrGfkrTGCKDw F4cdR7p37uMaK/2ze6mELZMChcr9fYVhbD8CsEjcY33SICZKImDIgiFHM0q7zd6KiEBLzI 1/H8dVJOzdEgX6HeErQT0HcqkxI+N87Ji8I5VfKkIW9jBGwBJSs/l1Rbd/w/Kg== 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 4MysT92rYzz15Bv; Thu, 27 Oct 2022 17:03:41 +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 29RH3fon048194; Thu, 27 Oct 2022 17:03:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29RH3foq048193; Thu, 27 Oct 2022 17:03:41 GMT (envelope-from git) Date: Thu, 27 Oct 2022 17:03:41 GMT Message-Id: <202210271703.29RH3foq048193@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: ff270fce1631 - main - Make sure error is defined in dpaa2 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: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ff270fce1631cdfbf8d3d76b9a9f5342b78972c9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666890221; 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=EyLlAWysdvrNCSCxgt6YdkYe6P2HAeT7Y7zeIMBrLMc=; b=J8QjOP/ksszlteQ+7Zx/vXZtp5rk8qY8/q0R/yXCjqfhj45Dib4eBYxVK+N8t/xCJyq2pA 3pYxs6LXQnp0ozkqdBkSRd6aRNxugOHOBeMuWB0nuZf8BkPqQjzvqCa6vH1nW39BEZgYXz d0FPw8f96P49/perIf+idSFplFrAHbj2MBmMHLj/tHDJao2Tq3AOUiz04ox0A2Pq4v0xKA A711ViPhg+Xp9PPSx5OVpESWHuTb55aQhul+6YT5W5NF+R0tNgXbF4Kjc09ftIENgFjPSw dlpCdIvThogVC9T5vyCVsjObv3BK/UMd5jrS01ow7Gifv2u+XVIF3IpY7wwJWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666890221; a=rsa-sha256; cv=none; b=LzYB7JWzj1snmRfnlcRI2ufiOXyb9V3FUUxPwpIvvnkzjohcVBgBUZR7SCzd2MCsW5O5+Z KkiuTRNX3h9VFXA8a3na/48HRiZ0Z4ywziG+d/v29MZ0S/lNsSqfVDvCnNj9oIwpaUzVIe 1o9p0SZZoRaW6ymwZdWG8/JCApaF7P4FAPNOX2HMazCh5qyCFaIXye6BM1boNETjlyRJf0 a1xxAr+YNuDsNVGemDopIEnMawEYA3/CjcqmTy6iKCJWHAmOw4KlAXpyIS1X4RmCnJ1GFN XHLIWjhaMAk8sLBHljol9ut3k4V7RkVsX/F3bHTVGlpQmwxiGg0DEjmN3iFNRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=ff270fce1631cdfbf8d3d76b9a9f5342b78972c9 commit ff270fce1631cdfbf8d3d76b9a9f5342b78972c9 Author: Andrew Turner AuthorDate: 2022-10-27 16:59:48 +0000 Commit: Andrew Turner CommitDate: 2022-10-27 17:03:32 +0000 Make sure error is defined in dpaa2 The error variable is used in both the ACPI and FDT paths. Declare it unconditionally. Sponsored by: The FreeBSD Foundation --- sys/dev/dpaa2/dpaa2_mc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/dpaa2/dpaa2_mc.c b/sys/dev/dpaa2/dpaa2_mc.c index 83563b82c6c7..e895d2585a3a 100644 --- a/sys/dev/dpaa2/dpaa2_mc.c +++ b/sys/dev/dpaa2/dpaa2_mc.c @@ -747,8 +747,8 @@ dpaa2_mc_get_xref(device_t mcdev, device_t child) #endif #ifdef FDT phandle_t msi_parent; - int error; #endif + int error; if (sc && dinfo) { #ifdef DEV_ACPI