Message ID | 20240221082221.11997-14-stefano.babic@swupdate.org |
---|---|
State | Accepted |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <swupdate+bncBAABBQ7F22XAMGQE35SP7HI@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=G46m2IOI; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::53b; helo=mail-ed1-x53b.google.com; envelope-from=swupdate+bncbaabbq7f22xamgqe35sp7hi@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-ed1-x53b.google.com (mail-ed1-x53b.google.com [IPv6:2a00:1450:4864:20::53b]) (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 4Tfq5N0FC7z23l2 for <incoming@patchwork.ozlabs.org>; Wed, 21 Feb 2024 19:22:31 +1100 (AEDT) Received: by mail-ed1-x53b.google.com with SMTP id 4fb4d7f45d1cf-563df53b566sf2817675a12.2 for <incoming@patchwork.ozlabs.org>; Wed, 21 Feb 2024 00:22:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708503748; cv=pass; d=google.com; s=arc-20160816; b=RPwHfpd7akF2MHYohYvw0FE9yNuxOFo0GT9yuqu0o54OvPrxdwiMaw8zbOXt4o9rZb Bv7+VocNciAQ3DlMYiGbogmGAhFDLHlLdYZHZAIC7FAotdsFYJed/je7ZpW6SbQQa9Nx 3P6MZ7FNvFkr5ChExy18KR+9cE4LY4w84GLE740KY0kDvoNnTztehaZ0p7KyjUK8yFOv 7UXivzZ6EBDa5fRtc9ODFwdPOA4GqTJ4H75dYC2QLkyNAWDVMMwc6tXS6Q3CZ1sgX720 /DMy4tDPLp6V6AToMGAfZXC8FcydEpfrx0I6uKSnhkWSDlh/OGgZdFk19KmIa6GnxR4t nHRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:ui-outboundreport:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=EjZv+sZErwk3EN1DRqkfntuKX2MneJxXFGdhFvzwjr8=; fh=AChex0vxhShVZXxw17q3qITk/FLmOHdMnGVglkOpkjg=; b=unbQyYavjk8fqHKtQpPwrvhc/zidzHWup1VxFsBve106v+qnPolvK7o0yCZGugxShF dEtIVCSXOKKGImpf4nLvMcTyyGVKI7VzBBN+iKrbOOr7n5cNSsD6XiHeNOQqsafUsqLl anRwFlF/JF7jiK80SXdDAXolxyqH/Vj9faz/BdeymLfu3RHASOEgzKdgzgFUSKol52T9 4cI6e0qbdFynySne3mI7WyvYWXYKsBANh3XMS+Iblja41ka9Wn7FC9iQU/SftQbzzUK2 1cLwdRHM07KJsJxG/HzPW4K5niH97LUMmqXARX++kIZSB/octUqacBIpyeHXiq/BB8Y1 Nusg==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=FaZnHGw3; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.187 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1708503748; x=1709108548; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:ui-outboundreport:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=EjZv+sZErwk3EN1DRqkfntuKX2MneJxXFGdhFvzwjr8=; b=G46m2IOIPW1Dh4VNkRrmUE6oxe/T6HM/C7nUXt+MNc33AEKVDcV/FGD7QuAjW7w/fr eQMnIMn8ZloC8wUfaBYxh/h6LhI0taQO4N3PqUNfibS0OZzsX83uzKrRO74Z6IxbtQ/4 k9JovxPZGiFeVwB1MRVO60I5Wr8L6hLGnQ8b9pgpaLSOj0y10HZ1iz0JjZRnRZ8zeJ6y zGhASpVfqWLCXqJfNqLKyJgiu48nuMgE3sgqLc6S6ravismMD0cIC5C+9b3Q4Eg1Ytw5 Cd/zEvTLXhX9C0DIMn1fSYGvPoNUDqC800JB3cBhcujXYv6rW7KaHh6ueX0njPaGluZp /meA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708503748; x=1709108548; 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 :ui-outboundreport:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=EjZv+sZErwk3EN1DRqkfntuKX2MneJxXFGdhFvzwjr8=; b=rX6KrCXOhSKy5VxX9k3ikHJ4XZwPRdF0RkPhVkuQ90kIEn8sKQ9kq2VKXZ/+i3mzEg fQWEr8DhiZZ1BoPX0xgVqI5d2wsSY9KlCoXfNp6OxIXz9OZINVSLUiMGo1Sor8PNXFCq MfUhNHbRQvpLmm6Ae4OguqmW11BEdCcK+CR4GFhpJ6XJueD3k66kFglJBs20pw4QKtXR Cn1isqq4H2K6iTdZSJku9jgo1/ex0T9aEkaC3g6C8DmPf/pAIvylvmFMch7ZvGbF0w4X DY3ha4qbGk8kjaMUTl0WNFjtZDqTWMek/J2OZ66RFab44DrKAqS9ozID9+q6SF+GxHwg irZw== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUJ6Swzaptu+7Jo14t9JMo4gO38T6XGxavpvTWLpbWh+p4jXnsqZZoQ3hCLI+B5lGs0yB2lsC1Muj1cC+IcBi6Vq0K8FuM6nsfKAw1Yog== X-Gm-Message-State: AOJu0YxZDnOaWO9ZWtRpD/zDjEsl7F+Uron5WVz2CzIFWov+wz/cXiXU M4hea8T7Y1cYoJ8/cVa91IOlTuKQWoSUdx2YvtjUuMiqSicOX9/5 X-Google-Smtp-Source: AGHT+IHQQgY0MLwct02sZv8Yd+Bxmy1oKddiZuxT1gKaszghAuT8LEyASSpmt0wQr+rSsSuILMNxsw== X-Received: by 2002:aa7:c2d5:0:b0:565:813:b39e with SMTP id m21-20020aa7c2d5000000b005650813b39emr296969edp.40.1708503747796; Wed, 21 Feb 2024 00:22:27 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6402:3811:b0:563:7f13:d25b with SMTP id es17-20020a056402381100b005637f13d25bls549343edb.1.-pod-prod-09-eu; Wed, 21 Feb 2024 00:22:26 -0800 (PST) X-Received: by 2002:a05:6402:430a:b0:564:f9e1:5864 with SMTP id m10-20020a056402430a00b00564f9e15864mr811072edc.42.1708503746010; Wed, 21 Feb 2024 00:22:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708503745; cv=none; d=google.com; s=arc-20160816; b=LpBiiQE0qVygVUDNw9lrf5La61Wf8gtbLeDWdVHvYtr1eeFgB5um2YKbPsEG4csVZo N6UTt//K41li5qKoBfF4D376dsJvs3JlrX5jrDzyh+xLS9ET8RRlcMeaBZA1BDUEqzrk GrhJ0GIIotP36bw+wq/0qOex0r33Dy0hyy26oZKOKKbGAKunaH613HItgCf3jMWiOt7a tGpP980GxO4ittXr6sQnUBXrO3JXBWTyf2qXXZdpFz3/iFp7lGFIIT7ytEOdWrQqxmqo nuIViQLlHKDJv91X6sjW1QIWZwGdaHNFJPrr906MOJ4/CNk5qZle70pnUf4GOz1kkjTq I8VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=izO37pjK+gyo6ppGKz073VVMKVWZdCWS+1iofzIiRlM=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=nESCXtdCSna5FSltjyuT55w3dISSQBXBLd9c5gRr6fAjQ8A+rPyohHEJtU2SsQW0Gb Pn6aPLHyd/afhWoHJKaxoR2B3AbDl5CQL2rgmdqD93QAagNS9bRBgZ1wQ5iievWuSo5D fMZEIEGGgVaugOSsNbwDxY1W9+kue4D0BhlHw75f5xv9Wbl4Zndk6GplbsLqqm/Yd1J4 DacZ1KEaBXf/SuBSmHxNhZG1s3+10LhmEE9J1qFGWDHssh63ygwXcd//Umk3WEZ/fOo/ s+1E7GL/QF7oKbdBZDgVviG68nRzLv2xqKIFa9l6q+vVp8pa6pC7CCEWXkURwgGTi4eJ gW0w==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=FaZnHGw3; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.187 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.126.187]) by gmr-mx.google.com with ESMTPS id e15-20020a056402190f00b005617c6b0e51si245430edz.4.2024.02.21.00.22.25 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 00:22:25 -0800 (PST) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.187 as permitted sender) client-ip=212.227.126.187; X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MjSPq-1rEtNz1orK-00l07U; Wed, 21 Feb 2024 09:22:25 +0100 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH 13/13] Fix warnings in case CONFIG_LUA is not set Date: Wed, 21 Feb 2024 09:22:21 +0100 Message-Id: <20240221082221.11997-14-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221082221.11997-1-stefano.babic@swupdate.org> References: <20240221082221.11997-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Provags-ID: V03:K1:4AUIjPRTzI9QMVnzdmWTH75twX24a4uD/GY/po2FxyD/yo/I/0O /22tjo8UqgKeu4tEn8yCnqwe9rRigyqMe/6Yf7ItObMATsROZjovc7R+XpphDY8QlMFUtOu bvGhepwSQNkOOylHr9DuYrbdrYbuebc7C1I0Id14Fft2n/jJEDWZnf+OM+ja7xq9Fil3qRw qDLqz4IiCRV8DKjwEgp7w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:304XQPpWBl8=;zoFjxxPR/K6nXkHiMgYS+ECThBm sBOAzlWIGAjVM19fOme+KwIX5yZHb3zjTOUThfYF3oWW/6r49KKpnIjtsCH0+lH6dztaqTpUU kIfltG8hpbgzBliag0b6vxs6oVrDQ7zm7OxNkRuV2N79ybL02mgm8VY6hNxV7JvM6oKu8Eeud GBv7FkcWQAuetZs6b7eeuPaNlCb2HzYhlGuWmyHkEbgLTCd8AYack62hsYc8PtO4rjqWeOGL8 R0WeT7T1ZKgqGqlS8fGzMMDxMA80TfdYwhEghYrZeSne5iVLoFKDTk1G5Rp2anBA8U7yVFyGm Hr3ybv+PQAD+gnYg5+8zk2m8weSDbcL2A9O/lOR8GbyRa97PVTxj6SELeknd1bO8t7UOTuWE2 yitqUD49q38pWYCcCyOHOE2VmR2/pG/Vgr0lPdabKwaZfHR6q3oFeL2iROAUgK76gwwvhRnbp r/hVWjRXW29xOQhV5EzeMYpukl5zFv74817/kUlacKLvEboKbr+abvsyLgPFpGw2qj2k/Dzbr Jux2p0GsASz+7g6/E58bVGRyI+LIjHH8haRijVzqx2wS+AIBosEK1G0IG6ud9m7gJcAUxxh1O LX1NbqAZyiG0e01bSQujCaWmh2Vo7fpJwxnyLyiGxATR1BS4FToBTCFqVQgiA5WMCoEvONJzn 9CYtagFewLkjyr7j/MpzqPqlunlXy3Vgdqx8nvolUgX0UakbxMJ4J5GR1z8oaWNP3AlDqEwSK w4uaCYOm0edWsXMpc7Cgi0g/IxYWTGAKoelqlgtrszv1gb7YE9Y3XQ= X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=FaZnHGw3; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.187 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
Extend Lua Environemnt and post-failure scripts
|
expand
|
diff --git a/include/lua_util.h b/include/lua_util.h index 7b34eb89..bf8d2b0e 100644 --- a/include/lua_util.h +++ b/include/lua_util.h @@ -81,8 +81,11 @@ void luaL_pushresult(luaL_Buffer_52 *B); #else +struct img_type; + #define lua_State void #define lua_exit(L) +#define lua_close(L) static inline lua_State *lua_init(struct dict __attribute__ ((__unused__)) *bootenv) { return NULL;} static inline int lua_load_buffer(lua_State __attribute__ ((__unused__)) *L, const char __attribute__ ((__unused__)) *buf) {return 1;}
Add dummy lua_close() to avoid warnings in the parser. Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- include/lua_util.h | 3 +++ 1 file changed, 3 insertions(+) -- 2.34.1