From patchwork Wed Dec 7 08:50:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1713101 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=XeU79NTo; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NRrmV0HrHz23yq for ; Wed, 7 Dec 2022 19:58:34 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C2A97855B2; Wed, 7 Dec 2022 09:55:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="XeU79NTo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E1039855A2; Wed, 7 Dec 2022 09:55:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3F67B855B6 for ; Wed, 7 Dec 2022 09:55:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-pf1-x42e.google.com with SMTP id g1so8914355pfk.2 for ; Wed, 07 Dec 2022 00:55:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FX927QmgGCUVZbVDUGqfCQs+7pmLG8iVqrDlZoh69Ik=; b=XeU79NTobT05zuiE1e14UvdAwv35kIfiE7yUPZ5fCRsXJMxzNirf0vBUW6aKBILfgr PJKheE5TN+viGXurv3t6WV3ap4BKehH6nrm1KEVhDVfuRrLYACX2+gXZnLeEhmI3iDaJ xkr3N5DY32vHttlQiwpM8dHTe4MGPeF7TAoZQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FX927QmgGCUVZbVDUGqfCQs+7pmLG8iVqrDlZoh69Ik=; b=Las4Sxjy4p2aTdG7FNAg0KNfF2ogjjiZ4uSRsc9s/v+1rJXJ02UwGNdyUcuY7HmiU4 2wSQ3qHpv4EdIvdhf+T3SHnQBMk+UZYRs4mba0Y9j1Z3k+lcwPdaInmlaIDOYLw3cBuR tRXmVJC2+19qkQ1boO3XyogqsUrGA/63EEBlkegDAIFMIpv+J453uNHoOB/CJo62pBz6 BPmBDCsJq4QlVEXFPMWkPjtnWu5iLrRplaYkPqdJbPwDaUqzGDqhqipDkr00iy7rCDsy E+0yKaicNv1p+JivCkWbmYU+uJKWs0s/YnBWNrrYfUR5bgb0BceHczC8QLHDA75+mole vq7Q== X-Gm-Message-State: ANoB5pn/CWDjcZn83gAkdYfdV6Fu46vwd0RUIlALTaQ4+nQgv5eaiGTf XmnkArDDZy3r3egmirjNc8CMe/ptUW6fKTAR X-Google-Smtp-Source: AA0mqf7Xs481GcFXJ77C08auYTeIFNTnAIPNi+VakgU2qHSt/EClKtS5njVFI1D3bmCSglVvm/faTg== X-Received: by 2002:aa7:8d5a:0:b0:560:eec2:d0ab with SMTP id s26-20020aa78d5a000000b00560eec2d0abmr93614028pfe.43.1670403303721; Wed, 07 Dec 2022 00:55:03 -0800 (PST) Received: from localhost.localdomain ([27.110.126.54]) by smtp.gmail.com with ESMTPSA id l16-20020a170903121000b0018157b415dbsm14145514plh.63.2022.12.07.00.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 00:55:03 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: U-Boot Custodians , Simon Glass Subject: [PATCH 21/71] event: Correct duplicate log message in event_notify() Date: Wed, 7 Dec 2022 21:50:47 +1300 Message-Id: <20221207085137.445249-22-sjg@chromium.org> X-Mailer: git-send-email 2.39.0.rc0.267.gcb52ba06e7-goog In-Reply-To: <20221207085137.445249-1-sjg@chromium.org> References: <20221207085137.445249-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Use a different one for each call. Signed-off-by: Simon Glass --- common/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/event.c b/common/event.c index 231b9e6ffdd..c312556490e 100644 --- a/common/event.c +++ b/common/event.c @@ -123,7 +123,7 @@ int event_notify(enum event_t type, void *data, int size) ret = notify_static(&event); if (ret) - return log_msg_ret("dyn", ret); + return log_msg_ret("sta", ret); if (CONFIG_IS_ENABLED(EVENT_DYNAMIC)) { ret = notify_dynamic(&event);