From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 09 Sep 2024 16:45:01 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f192.google.com (mail-lj1-f192.google.com [209.85.208.192]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 489Ej0Nv030400 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 9 Sep 2024 16:45:01 +0200 Received: by mail-lj1-f192.google.com with SMTP id 38308e7fff4ca-2f75c8181c0sf20022841fa.0 for ; Mon, 09 Sep 2024 07:45:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1725893095; cv=pass; d=google.com; s=arc-20240605; b=PicKGscQzyA5m5uFeparzmsoLENfRfwp2tGnDvWXm9Sj8IDmdo3+56p+rk9jCCroZl L2KqRt7dVaVwlQauRwXP/057UZe3A0ACrRpnmcSjpg2awz39E0SDJ4wJLxxOLAuPz29u au+m8DlfVTNkzqJNkMg+/Cw9O6vqMld3scar/jLPTP64eIrlvdgLifKRVEgBkr8Sj9p3 Wj5tGfCVXNiEDKKEjXGU1Q2LYvZO5Eh2Lcy7b09Z8k5Ut18cUCKQ3IlTRVDzl+TzEOx9 TjVC4/oReFQd+QVpQAqt51EUhuorcS7eBLczb6UqlpH3Oa99LqLzOGqgbxHGW+p18o+W rDHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:sender:dkim-signature; bh=GAUPsza5fmrF8lBjzUmb2CHERliumWjzPAjbQT+AhMs=; fh=2HIDMbMQgrSiADAqx/RBRw6OPbzGW2xVZQnWqnxspv0=; b=fFh7WYUPx+Qj4W+MRrnSKYgDHQ82OTBX8PLHEQ078pQCKijmtPLrfIOK/39iZsAjzc jAlAWtndhpn+8OR2VOqIanuA60m4bUb1UtPoHOleBe1/WGlION1//JzGubqXJonpOimF lHxVrNA1jUOaJCUcOAT7LU8k7c4mIcOiKl8fxx5ze8WGeVwqvpd8Wf4/o6dvTEbIwNRf zDWR55GXHK+LLuYMJAknW6bI3OaMt/CvSuhWFLhwjXehsXBhSx8OZwGyTvw23MNCEqYd 25jncJ+xbbmPy27ZJQpAgmzF9o/7zv/ZEfwQ1pUvBNlwcLRpFOjjfDIwhAX1W5LVTtlE CYog==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1725893095; x=1726497895; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :references:in-reply-to:date:to:from:subject:message-id:sender:from :to:cc:subject:date:message-id:reply-to; bh=GAUPsza5fmrF8lBjzUmb2CHERliumWjzPAjbQT+AhMs=; b=gy0Wxz3CCw/eS+DVtHrFIasenuOS+RN85uYPGUKuPZxyZcGnJ7+SQzOkuLKAYLXah2 ZA7V0+hHbtTUQCnyjDL1fLJkI4SdZIfk9miOFPVV2DUfd/a5s90FDR0YV8Khxy660mG0 5BiCHMRorsWGtfHO3d7fiW9S0RIEH9yPQOlQ+Nnnjnl9Gyv4sm6ziRPIBQyhcNA4sY0b a9Y67pDzNQb8MQFFaAgrH9IcHsmZZDl33MYiGHmIknSyccCQDVDGwPhxg+pZBos/HdNz 7q5jO7s6CK86to+GzRWMPZk1BbywzNxphyASPXMiw0ppc34mqazCQH8+V8gLJwXZaVzN AeHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725893095; x=1726497895; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=GAUPsza5fmrF8lBjzUmb2CHERliumWjzPAjbQT+AhMs=; b=cBE+ScYaeyvgv3000ek3Fd1A5Oy2vcyV47vu9FZwOZBDqwzoh5/ISo5X8cuFKzsTdh 0HRoiV2Xgg6wLe2YmA/hv4uMqJ9NM7vTkfo9eS4MvhWl+8rSEYx5Yzux3WptT5B22Qyi gqLCgz36HhWMXB+lhhWvl9+QMVzUlqqlTudVg1GItiN5w8e7TVyuKspkU4W/BqAe8DaQ xwfuZO1tM+JgmfXEzmJBEpZ6OyOJgfulkzymwjOgrPbUbMFz3w3I8h1bXgt+IB73MzW5 wE1PXLsLxKfJVTjjPLV4f84BEvIBTXt0zipWsesarbNlniqkYtV1arriaI7LhSsUQEfS GYbw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWncspyHLRoi7YfKU9YdPsoAWKyqu+2PteKeqOr5dtgyVfxorsXnuNq6W/uXJ+7Rt405Fta@ilbers.de X-Gm-Message-State: AOJu0YygQ6fkrakksC5rwAZuVrMI0vX5tx284W+PE5kluGjFdUV6k6Sz 4a+WX/XyZtl81I55pwW7gvRDdSKK+lEghPv6F0Ic42rrNNWW6zq7 X-Google-Smtp-Source: AGHT+IFO6PqRXK2h5L/ixuJ7zPNAF2oyVy0PIdnzI1jWu3NBgquzydotG7qUJsw+RLgn2mho+rifvw== X-Received: by 2002:a05:651c:502:b0:2f6:5fa7:2626 with SMTP id 38308e7fff4ca-2f751f838b7mr68011971fa.39.1725893094542; Mon, 09 Sep 2024 07:44:54 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:312:0:b0:2f3:ee66:7c5 with SMTP id 38308e7fff4ca-2f750f19a66ls9240021fa.0.-pod-prod-02-eu; Mon, 09 Sep 2024 07:44:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVgbB8ubVBW9eq/YO5P5CVb3MivioVpIacCbf/JgIk22g93zlCNDSOETVGMoujQVy0pSr+05RteD41u@googlegroups.com X-Received: by 2002:a05:6512:3ba1:b0:530:ae4a:58d0 with SMTP id 2adb3069b0e04-536587a40c6mr8583109e87.8.1725893091964; Mon, 09 Sep 2024 07:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725893091; cv=none; d=google.com; s=arc-20240605; b=ZKV59EECmeZzvaKgHIgOS0WVWLBtqBRCM3t6YstyhMkzEAgIFVFXMeP+gB0+REqZYt uB5LmvEJmmqxJy/g4hdIlmSLXDAHIc2EAxtjkSDaDRwR1Gt4phziPBwimfRT/m70Y3G+ w/AY5Nhq6/FVefPFw5ibq1Xx7BteVxFfpRG006az3FVkVBrLb6aOXrdaXP4opVpDZcK9 q3UifoDZYEACI4qFTs06CtUYr7FTrxHN75QQLEAPMLmSyRZ4/ytWlz5jTddZIGHUOy2b EPfOyJvuOzXVl16ZdG05t0zRsnT6F/b+WyJLjBzeERbgi0xxAKLfKcDo3EV1tseucHMh WJTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=VIbwtL6T9zcCmJV/WQZhpIfX6+YevUlBAJIF9A2cN/k=; fh=ccQXl74Cdj9dNf1vJ8yhoIVQsYk9q5g0xPcMTPam+sk=; b=ly8sRRRNYPua+TnhGPxQSJT7kxn1pGK4YHKLxJV512Lg547yVEytr9pDwgL/jgVXHy q17Pelk/iYFFtjy6eyosh33NFRJuOtnR6cG8LWDxwF+iLKq4hSYQpetL26pnE6LINSSj 6LoznpPSm/ZyYRQiinEe4sa0lgSa5jaFSH90kveMbceldDQj+SDcX24MZjG8eblIGhCZ MO/qVqXidbrPq0cXT+WQrqOa/+KbmnhDQFI1p1CYcTVdkImkFw7M0K4qioUVUFqJfS4X Tu1w6pHExZfRQ+75WBjxMnB8AzrpIlSlVxgG9UlL4MsqnkRzrUHnkEGJlgLOzSsjqj8P MzfA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-5365f8fef5esi103802e87.11.2024.09.09.07.44.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Sep 2024 07:44:51 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 489EimEt030392 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 9 Sep 2024 16:44:50 +0200 Message-ID: <70b7d5f8c42687f78ba63ac9eacbbca275ec4fe8.camel@ilbers.de> Subject: Re: [PATCH v1 1/1] initramfs: correct parameter reference in hook_error function From: Uladzimir Bely To: Rakesh Kumar , isar-users@googlegroups.com Date: Mon, 09 Sep 2024 17:44:48 +0300 In-Reply-To: <20240903131559.802498-1-kumar.rakesh@siemens.com> References: <20240903131559.802498-1-kumar.rakesh@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: ipeloXr5MiXF On Tue, 2024-09-03 at 18:45 +0530, 'Rakesh Kumar' via isar-users wrote: > Fixed an issue in the hook_error function where the second > parameter ($2) was incorrectly referenced in the error message > output. > The correct first parameter ($1) is now used to ensure that the > specified argument to hook_error is correctly logged into the > logfile. >=20 > Signed-off-by: Rakesh Kumar > --- > =C2=A0.../initramfs-tee-supplicant-hook/files/tee-supplicant.hook=C2=A0= =C2=A0=C2=A0=C2=A0 | 2 > +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/meta/recipes-initramfs/initramfs-tee-supplicant- > hook/files/tee-supplicant.hook b/meta/recipes-initramfs/initramfs- > tee-supplicant-hook/files/tee-supplicant.hook > index 3e6adbed..3e2f4016 100644 > --- a/meta/recipes-initramfs/initramfs-tee-supplicant-hook/files/tee- > supplicant.hook > +++ b/meta/recipes-initramfs/initramfs-tee-supplicant-hook/files/tee- > supplicant.hook > @@ -24,7 +24,7 @@ esac > =C2=A0. /usr/share/initramfs-tools/hook-functions > =C2=A0 > =C2=A0hook_error() { > -=C2=A0=C2=A0=C2=A0 echo "(ERROR): $2" >&2 > +=C2=A0=C2=A0=C2=A0 echo "(ERROR): $1" >&2 > =C2=A0=C2=A0=C2=A0=C2=A0 exit 1 > =C2=A0} > =C2=A0 > --=20 > 2.39.2 >=20 Applied to next, thanks. --=20 Best regards, Uladzimir. --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/= isar-users/70b7d5f8c42687f78ba63ac9eacbbca275ec4fe8.camel%40ilbers.de.