From nobody Fri Apr 05 15:18:01 2024 X-Original-To: dev-commits-src-main@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 4VB2DV0xD2z5Gf7V; Fri, 5 Apr 2024 15:18:02 +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 4VB2DV0Qr8z4LJ2; Fri, 5 Apr 2024 15:18:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712330282; 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=qcfSwMX5t2bw2BQZ0gnQdjsyBswp5fu/GrYe440k9zk=; b=rLCbyK56dw5P69qle4D3UbKVMghbmJ6Icbd/yLPHq/USaTkcwhtCQVKgMu5TT2Sxeecutf 5di6jpkKY6Yb8AAQU6Y9rOqrzdddl1s7DZX2LLErBl5oOW8a4JfDLWJZ++8rPEu0OPDdTM n7VpVwOcGWwai/ymscyuA7yBEgTX2j2MlJE3/N7zLrOHhmJwCFmJsNeeq+aAeCYbNH/+FH 3mTVg/MnglUyNyzwPks9jVl8ZtZekVBLrTYXgH9zTIsOVC0D2y9IwgvzxJFMaPe1fva+2k 2AgLdrJbmHnUf8uAb+wswky45HbxRjAPBbuQC7ZyHoxbKaSF/qRbIsDew8WQRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712330282; a=rsa-sha256; cv=none; b=jGzmD5bY7hjMF4jGdzNUshkJnCz49DbVcvwL2j88mMfwa8kBud2N7uI/TTEAjFNt9rIACv uKG649LyRVfXzv8emSYipAa7h7EPnL6ELjQ/x+QNrtA1yHp09kVDD2AMMo5du1uEy+kle8 uSxhqBdbLpe1BD4xXqdEYm6ldYWzEc+KNMgRUoG3p76GvetX3y6w6FEHe8kGkpfK4wg6YQ yFQYCnHVJtES3DP2+PlQxLBeUSqeirUOhhZVAHnevPV7DG0FcFG5XFlhNC1FzaqJ41ekD+ 9gYWDN8So3DU2ehhkv/TNuvki9cbmui0EywsC2tkIVMODuB/fWQchY/Hu/52yQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712330282; 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=qcfSwMX5t2bw2BQZ0gnQdjsyBswp5fu/GrYe440k9zk=; b=WYTkbQS5hlvIbHfkCqzq7LI8Yedlj9xRd0MYftejiZNF5jsjIP/ZuqP+52OF/wzwCn8trA 5lI9QpqPe5dH/TNI4u5We2oW5x2rIpUCNb9adASrTK+HWDGRQEKjyTetbKOIYTI7xEdmdb /jHIqLC/l59a2fAXgA4D+HWCazAlJZF3J7u8inHUMHH1xnnvv7MqrpJfu1C0KfU3st6yiK kXGLwQfulktSMTfHW52b5H7J562E/zQuCWLeCl6vVQmlqvt2GTuROmkELlelveIqLHSYpc eq+FnR7s9NeEmAmgLug7NXPhk0ny+EsNjpGbVmSXqcMizWumIAzP9JXBLD2ReA== 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 4VB2DT71J9z14x3; Fri, 5 Apr 2024 15:18:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 435FI1Kv078239; Fri, 5 Apr 2024 15:18:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 435FI1nj078236; Fri, 5 Apr 2024 15:18:01 GMT (envelope-from git) Date: Fri, 5 Apr 2024 15:18:01 GMT Message-Id: <202404051518.435FI1nj078236@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: de937ecb75ed - main - acpidump: silent the warning about unaligned uuid List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: de937ecb75ed4d61fc06dd380f9bf6be998502e9 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=de937ecb75ed4d61fc06dd380f9bf6be998502e9 commit de937ecb75ed4d61fc06dd380f9bf6be998502e9 Author: Konstantin Belousov AuthorDate: 2024-04-03 02:58:28 +0000 Commit: Konstantin Belousov CommitDate: 2024-04-05 15:17:55 +0000 acpidump: silent the warning about unaligned uuid The field comes from the ACPI NFIT table and must be already properly aligned by BIOS (at least so is written in the spec). Reviewed by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44634 --- usr.sbin/acpi/acpidump/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c index 8b749f100eac..cc2ac6f19cb4 100644 --- a/usr.sbin/acpi/acpidump/acpi.c +++ b/usr.sbin/acpi/acpidump/acpi.c @@ -1596,7 +1596,7 @@ acpi_print_nfit(ACPI_NFIT_HEADER *nfit) printf("\tRangeIndex=%u\n", (u_int)sysaddr->RangeIndex); printf("\tProximityDomain=%u\n", (u_int)sysaddr->ProximityDomain); - uuid_to_string((uuid_t *)(sysaddr->RangeGuid), + uuid_to_string((uuid_t *)(uintptr_t)(sysaddr->RangeGuid), &uuidstr, &status); if (status != uuid_s_ok) errx(1, "uuid_to_string: status=%u", status);