From nobody Thu Apr 21 17:29:56 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 D6DA01990165; Thu, 21 Apr 2022 17:29:56 +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 4Kkl0h5Djvz4WMY; Thu, 21 Apr 2022 17:29:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650562196; 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=fk5NHKGDdNT9gjHdTZcgt81VDEnsnQ/09TQBB9519jc=; b=g+Np/WfWUfPKr0Enzt0yo7NowcrsvndbBf5vxzebjvyP4kNme+UGlhg/8N1Klt3lhxeZWp Z2x9vl1fzZJtdt3ihIHOxYYLs0Nx2uEEWPAUEkWYLvT3TQrXdbs0f2TJ15poAbSEpla1LK rXPDCpH+1qc3mv8Tgy7fW3VAc2ZikVO+x+hMoCGMkmnPQjZ1jsiSUd6CS6BmVV1eJ/QFQ3 AeVmDldIVrdZ4jdb7MgSa3NjcC5v7GjcSPi20YU7iRalMTrWJklX8bIKNK8I/iKXO/p/t+ bixMoCQfMwaNi16hQr1NrWQMmygFhCOB3zLXobu/PkdFXFK+WGMJxpve+X6Ggw== 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 8FE3E4ECE; Thu, 21 Apr 2022 17:29:56 +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 23LHTu6k099458; Thu, 21 Apr 2022 17:29:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23LHTu7M099457; Thu, 21 Apr 2022 17:29:56 GMT (envelope-from git) Date: Thu, 21 Apr 2022 17:29:56 GMT Message-Id: <202204211729.23LHTu7M099457@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 3730d6aa8f5c - main - acpi_apei: Use devclass_find to find devclass in identify. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3730d6aa8f5c5650b5acd49d645a255d5ced03a2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650562196; 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=fk5NHKGDdNT9gjHdTZcgt81VDEnsnQ/09TQBB9519jc=; b=ILGADwIHwDnDO33zEG71YQ6cjXiCImI3MTz9wg2oIjItVaikDWY51yRMmEdJJuEJActRQA Mwf43R936i9e8yqnaLRBAsugBuBMlDSzFUbjq+/AipacBY24VQ02QMfEuHpUxiQglPC12j PVJ7X8vZCRcU5QLNtGE/UkzYAWw0u9gvMfAtmOPjlp63aAUWuPJiA47nVexv9MBomvZJ3U 1W5Iy9x8FGpjxsLybKy+PvuhfZo9a69KUzBZZ6ayv8ijNhs0Jneru3GCPiHAWLnLr5Z1u3 5awEH0K2e1867xo/7tUEXkXXaY/wNI41KdWGvwxj+ZMkXDjd1F5q5EveEbuRzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650562196; a=rsa-sha256; cv=none; b=u8lZzUlYRNikcY8+Oiy+ccAlnEmUwwGBV33Moqhg6mhGPsWxCpGkVh9YU2nirWI+dhnyCn TEC1cLKPRyxnwvjiw9jxTD3sz9KHgo508YrywHhCIBbdmtlXkVcuzk2+ajFjYI+0sJSSay lkO8vDEAWm+53sRmv//uY+p3vch3xM08VdFWl3MlgqVlCZsJLOtnqoJ04swpFLAqHQ4hjz CJHz1Z/+I4w6YisEM06EAwUgw+9OqpglVTVMcP6KD7zeUlHUGL9/hURh9FAdklaRGa7krS +5jBX95C38/5Pbf33i5HQSiQ0l2sNdq/FArhlr8Ijp4BX38zXZaIIFVS6W8y7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3730d6aa8f5c5650b5acd49d645a255d5ced03a2 commit 3730d6aa8f5c5650b5acd49d645a255d5ced03a2 Author: John Baldwin AuthorDate: 2022-04-21 17:29:13 +0000 Commit: John Baldwin CommitDate: 2022-04-21 17:29:13 +0000 acpi_apei: Use devclass_find to find devclass in identify. Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D34987 --- sys/dev/acpica/acpi_apei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpica/acpi_apei.c b/sys/dev/acpica/acpi_apei.c index 35bab30a68f1..723928f2fac9 100644 --- a/sys/dev/acpica/acpi_apei.c +++ b/sys/dev/acpica/acpi_apei.c @@ -599,7 +599,7 @@ apei_identify(driver_t *driver, device_t parent) AcpiPutTable(hest); /* Only one APEI device can exist. */ - if (devclass_get_device(apei_devclass, 0)) + if (devclass_get_device(devclass_find("apei"), 0)) return; /* Search for ACPI error device to be used. */