Message ID | 20241110125637.400520-1-npiggin@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=FWZOBBzK; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XmXkb5FPyz1xyk for <incoming@patchwork.ozlabs.org>; Sun, 10 Nov 2024 23:56:55 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4XmXkZ0Kh8z2yPS for <incoming@patchwork.ozlabs.org>; Sun, 10 Nov 2024 23:56:54 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2607:f8b0:4864:20::633" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1731243411; cv=none; b=bdqtYOT+AKu937X2+YWy0LkTKl4QSWe5M4ObjDoXMUhJ6T1/EeiZznWVh+uU+a2aGnCJuVusRKrhj+9bXhRTwbJp3P3oRkYuB9IGntMaV5xzTKqGHEFkOG63qvagBp6T7HeSDnCTqh1FkKGTrYxIP8Hs2kmOnIE6XgkWTEnRLkZaGkciWU7DqWTvhoSQlzcgg+pHjodAHhnhKqZctUkVc/GZGxdtvHJ6+uGS2FRi4BriKd3lQssUitZDA0/YyM+Pzh+OH9uj4H6A6QPWBEFsv+DlvyUFMu2uhlW1GqmMP86XeDp3wTNRjw868gHDz6MhEogIlga0krr0fKz98CTbyQ== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1731243411; c=relaxed/relaxed; bh=YqLv1u6gKO9+jzO6CsYHY6D8XOKkLi8w8QKY8Fa4VNc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=G5to58IS3Dt/LA1BrnNMa0nSPZ8iySOw51ooS0A15eS8llHDEXTcyePDXQWddD66SDcZ+sJuIWj4C7bsaYgPLtmEExmysqXoVFBThls9l6BhPkgLyt/VT+G77Rf9LLL7m7paGujVca5L4k3SRktTjZfnIsUK+CiStEitjXB3RTjDGqIqRbM01WW/MlleWEVB2uYogfOFW4At3FhxkI6E/XiW1e/Jz/BQXeJKw4MPF07bGZ1LZk36dx7FnUsIif3XAdbxLmHMZZcaj8ev4zrOdNtu4EPUtvwaMkmy0b1xBARUxVvuQbfFD/EkSkBiV4Uwc1aCaXZO3v/e0DcrgTPRWg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=FWZOBBzK; dkim-atps=neutral; spf=pass (client-ip=2607:f8b0:4864:20::633; helo=mail-pl1-x633.google.com; envelope-from=npiggin@gmail.com; receiver=lists.ozlabs.org) smtp.mailfrom=gmail.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=FWZOBBzK; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::633; helo=mail-pl1-x633.google.com; envelope-from=npiggin@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4XmXkV4lBQz2y3Z for <skiboot@lists.ozlabs.org>; Sun, 10 Nov 2024 23:56:49 +1100 (AEDT) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-20ca388d242so37418205ad.2 for <skiboot@lists.ozlabs.org>; Sun, 10 Nov 2024 04:56:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731243404; x=1731848204; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YqLv1u6gKO9+jzO6CsYHY6D8XOKkLi8w8QKY8Fa4VNc=; b=FWZOBBzK4s1Min+LovXYwYu0hD220I+QgC/3j3Ic9GQqUoDKbs61AZZnjvwzlQFBby qQ/E98cv7cERO6yDox9MaTlg+5raARmCkQLNsI34xnXb2/m2Ao2EzBTco8faw8hOt8em bnCmXHEYJKNPJT+7xfWFOn2DiAKka5gJmpmGyk5kyBYEXqVC8CHKnN5COSpsYxz9wh1U dg1VejNPM/bdWRU4X8QpwztMbAjT+wAYr3KafEQixKkG6wsbbF8eiUoFv1mLUKI9HQTm +jvK4am6TlXY/KMtdMrdl+cExxdBUGBSvbMrCTT1QNIJ/7dwblXXopYHmay7/Z7WE/sc NOAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731243404; x=1731848204; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YqLv1u6gKO9+jzO6CsYHY6D8XOKkLi8w8QKY8Fa4VNc=; b=ODREm3x0K/H1IN//dW2Rgu3xKRieRjHkgMNhfJ9ZRrpL9YcPNvO/kDXQdU+tENdc6s zXdirL7y2kwfptp8LcjSccSa8YzY6qhyYywrMzIDzIWxgHilNHAG9B6RHPQyNAQMk2rr Ac9/BwOPJKbWmBXFufcWufWsiPMZ6X1msw65TCLhK6ajRE60eK8u7aMU6e+UTKndDS48 dqDbao9VS3VhZnsEbKVhP8mzLIsFZMMss7PvqbaaWw50rapDUkOGq8mQoGAfYK0R8q51 LrkP8y7edwtz0GP/3nk7THxRs434qQHQOcbJs/s64lOVdcky22+HBmQbQyBSkvVfDP+/ eMwQ== X-Gm-Message-State: AOJu0YzCrqhkHS1N3Dd6xXG0r2LiqkdEyqhum5h6K2kzsYHZbxhmihi9 b7xQl1FN4lboT5o9WrxaS/v4KymYgcizjMpMaLXrZLq27+CHbV/dHTQU5w== X-Google-Smtp-Source: AGHT+IH7hgFzg6nhVsuTOwLrXzDaYrfqR84e8rbWUOvdNsp9fYYLaxS9vNPBmogedghaYy9Dsp4CWg== X-Received: by 2002:a17:902:ec90:b0:20c:862a:fcfc with SMTP id d9443c01a7336-21183d10974mr135149885ad.6.1731243404081; Sun, 10 Nov 2024 04:56:44 -0800 (PST) Received: from wheely.local0.net (124-171-217-17.tpgi.com.au. [124.171.217.17]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e5a1d1sm58966935ad.210.2024.11.10.04.56.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Nov 2024 04:56:43 -0800 (PST) From: Nicholas Piggin <npiggin@gmail.com> To: skiboot@lists.ozlabs.org Date: Sun, 10 Nov 2024 22:56:34 +1000 Message-ID: <20241110125637.400520-1-npiggin@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on lists.ozlabs.org Subject: [Skiboot] [PATCH 1/4] core/hmi: fix endian conversion bug X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
[1/4] core/hmi: fix endian conversion bug
|
expand
|
diff --git a/core/hmi.c b/core/hmi.c index 7f4211c5d..728d3637e 100644 --- a/core/hmi.c +++ b/core/hmi.c @@ -915,7 +915,7 @@ static void find_npu_checkstop_reason(int flat_chip_id, hmi_evt->severity = OpalHMI_SEV_WARNING; hmi_evt->type = OpalHMI_ERROR_MALFUNC_ALERT; hmi_evt->u.xstop_error.xstop_type = CHECKSTOP_TYPE_NPU; - hmi_evt->u.xstop_error.xstop_reason = xstop_reason; + hmi_evt->u.xstop_error.xstop_reason = cpu_to_be32(xstop_reason); hmi_evt->u.xstop_error.u.chip_id = cpu_to_be32(flat_chip_id); /* Marking the event as recoverable so that we don't crash */
Fix an endian conversion bug in HMI checkstop reporting. Noticed by sparse. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- core/hmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)