From patchwork Thu Jun 13 16:11:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Storm, Christian" X-Patchwork-Id: 1947498 Return-Path: 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=IKWd1vO9; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::63d; helo=mail-pl1-x63d.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbhfuvszqmgqesxbvzua@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-pl1-x63d.google.com (mail-pl1-x63d.google.com [IPv6:2607:f8b0:4864:20::63d]) (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 4W0S8242cSz1ydW for ; Fri, 14 Jun 2024 02:11:12 +1000 (AEST) Received: by mail-pl1-x63d.google.com with SMTP id d9443c01a7336-1f7010975d7sf9113195ad.1 for ; Thu, 13 Jun 2024 09:11:12 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1718295070; cv=pass; d=google.com; s=arc-20160816; b=kQbRTDThiP21pwdhbscW37dfnGlDcoouU1zQWqZPZDr3/jE/MxBMcuwxPBSLiFVk1i XLHrz3LP15nCQLp6Ia14XuC6+L0KmZSluoi4OIl2jVIuKddI0OrALyNEgACZQh7v0QLk S6G4M3hnH+yjRcaaX0UeCnX4c2Ou6BxwgIR+QfJ4+9vwGhloIBRFDCBelJGYZr3mcxAW PF5odFjT3ewWVzSXZiY/VhCJBvIkRDHWbvjf8YAdSQaTyc+gazv+KXnhE45tmRcXChL/ aWK4CjTVsD7VKyoqwCiRb/DjgYfOUhW9eqDKY+NEL35MeF7WhZb9DmD9/Ay7kkeevxnz aHIg== ARC-Message-Signature: i=3; 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:reply-to:mime-version:content-id :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:to:from:dkim-signature; bh=u60n2zlDBwk9Fs8SfXRiMM7Z7NF7ysPkGsh8wtiOBfY=; fh=ByaXnPENk9JCbRN0loQtCfRc0azajmDRxk6SsalcWcw=; b=Qo0qYG5Q+LD7K5Uu6rDuVeJbGYUfbUMiu0i6o556E5fvsmTbWoFXvSe1V9YGq4hPPD en+AKi5FmzKg3mPEZzkE2XMTOOTrwExim6bFi/kzq6p8k2mK8cJxkbtrufN1num4sdxZ QZxGcb4rnN6SUmsmd3Dqw1kT+zuEs8kcTYZouRUOQQSJwMorO+T9FCKHzgicqjKd6FjT Od9r6T4X21Q5EobcOZfAw7SSoVXopnItkOw3zNyN57i2bhQyQmaf5YZXB5no+YjbxnZv zvasgh8EGa/IOM2L4fKPbYWWSorToR4rtpmVN4zHEjsLXPtP7HbP4G9Lgx8WgvG+4zst OmWA==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=bDeHTo4C; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f403:260f::616 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1718295070; x=1718899870; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=u60n2zlDBwk9Fs8SfXRiMM7Z7NF7ysPkGsh8wtiOBfY=; b=IKWd1vO99YpnOzKOxypi17JZMUM5FYeTuUadmSLVQ6O8NIp+ABOPoLkU6aILiAr335 c9pF1JObfAECp8FDEABf9920I7GMehkto9RdOM79jL5Jb9Ja8valV8to9ppiI7Ws7W2p 5NiquIXGJUGQWGNYK76qs1tx/31Th55ko0/ved4+CaGWHAJk9jYZTT4Ho2PoEYItUCfY vkjP6SNXVKptZCu2auzGIi245PAzx3RZJ+AM/uYejQFHYeuPS31yVyHlz54ZABEVTA1L qo3jkzfsZUb59/tUCyaH65gLhvr0HaTKqLwARHSFWdvy4om9bWD4NMoATW07jU6oEZbu Gw8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718295070; x=1718899870; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u60n2zlDBwk9Fs8SfXRiMM7Z7NF7ysPkGsh8wtiOBfY=; b=Wu9VJy95a6F4xCeVSBvEyeWU8IrCco3oX6M+xBBta9QD415X2z7XTExRrdEKwUGJcJ 8peETuNOyM7ahTseGl9V+b/sfu2ggg0wO+qetqEm9vptG+oIkeMJJGcl7iqRvQCTWZq7 RmMkjkdmH2zq/hk71eE4uIE+kkBWsSOsEyDxjfktqTmso3RuawVUhl7d8k9CWV5hiXgM IeMDd5TvZznrMHsKOjl+4mZmgB2JK11i64BjznHzjfo9lvGai+84ztQ41aJjiUI+PpBj 10E5CS5/8b7klC7QZHWMZwwYIEMu/cTFIDSXvGJ4OyY90K3nOjsYuzr9nDixlsqCqr5S gOqg== X-Forwarded-Encrypted: i=3; AJvYcCUS2wGPDIT8ixaAuCR4bh73lYjMs/B8WVCYxiSAtuja90OtZ5w+PE6opE3B2k2zK8DcQkiNPc5KKDsLbl2nwTp5DV3x/XXekCZsk3PAtg== X-Gm-Message-State: AOJu0YxhJi3lq3qHYmvgeNDas9DmQk+GM/SQcgUXaoFyEeOYM+/KKHo5 ZrBESOpJ+HSVQqPV1pzitXt1hNcY0CzSn3XLgccsazXuGJ5SG+Hf X-Google-Smtp-Source: AGHT+IGRSCmoO9YPf0tfuOSIX//LmDJIv7tBYKFEkCgRAysOnXfgDXo9ZZKSa5WxIfIqHTQtdsKDKw== X-Received: by 2002:a17:903:2301:b0:1f6:6a94:76be with SMTP id d9443c01a7336-1f862900706mr1040735ad.46.1718295069916; Thu, 13 Jun 2024 09:11:09 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a17:90a:a88f:b0:2c4:c08c:6098 with SMTP id 98e67ed59e1d1-2c4c08c6575ls593708a91.1.-pod-prod-04-us; Thu, 13 Jun 2024 09:11:08 -0700 (PDT) X-Received: by 2002:a05:6a21:339f:b0:1b0:1a02:4131 with SMTP id adf61e73a8af0-1bae7f5a9fdmr361396637.2.1718295067752; Thu, 13 Jun 2024 09:11:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718295067; cv=pass; d=google.com; s=arc-20160816; b=KTAdScpb5jx1sLZjKSsx0RH76SfouvYUrtgRNd3nkA2ncvSapsjuZgVs8TBYx8x/8s lht458ngHfWbOJg0dA9+svOOM6Zzjw4rDE9e475AN0kbBzhl/ku5N09OR+I1eXn2/BJM Rj7Bd/gQz+c9wmAczwgvDSo0NHB7jYuHSdsIH0+Lry6Ngr96624MOm6XDZ8Ya7m8NMME WeS35o/MM5n2Jm2k2tgupZDmBdbNUZu+iVxuav8OZgxtNCLdjeRRou1D6twxhUgjQhc2 93/pfj+XPnZp+QeAfYOeQMAnwuN/oIYoyOGKbQQaU8zXx61lpAmWtTpJXQvfjRwIvgl0 H+cg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-id:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :to:from:dkim-signature; bh=T++iXGNCCTiILKl7/hzw+tyTJt/U1a2u2epPVKE2bGE=; fh=ZnR/GV7fAozRX3tpIO3vp/Jbul8ISZhdVjghlw9eWq0=; b=PCazjY8qEpZBVM5+P+GSeq8wMNt7kH7hb/WYqW1NSEb5yOFIrvcDGkh3Rw/c6dx1i+ AMzCvvvQLEbzre7qpFEu7hFT6fCR5VsbBRFJi/dpcnkJa7z/56cMeoyKmXg/kRBECdMO K9HU1XXYGMeb+FhbIOgJmmwrTF9wQMwDvT6XkkF8RumPL4D8ZJR9xSuybgEtcPwN+qm0 JOAYjccku0rgx1cV1yaSiDPIcXY6XydM9gjVHg6lH2jw0AOf/b43dU4QdFVTCjKegiB5 FymhvvxLAsPLx8OF9hLIt8/FoIulTKRHg8MnL0YnGhqm5x9cZiWH9mCsfOq8vVW1Gg23 LOXw==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=bDeHTo4C; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f403:260f::616 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on20616.outbound.protection.outlook.com. [2a01:111:f403:260f::616]) by gmr-mx.google.com with ESMTPS id 41be03b00d2f7-6fedcf37b4asi28910a12.1.2024.06.13.09.11.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2024 09:11:07 -0700 (PDT) Received-SPF: pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f403:260f::616 as permitted sender) client-ip=2a01:111:f403:260f::616; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+nFvasNgiEaqAP3IpnUihDTBPRUsRT6oWn8S1Fc8EzCDH5kzCER01zGQ1g1t2TWlBgaOBIaZFdF+BUWLbfl+9xiGPqHqKIW/PoIZPXXODLzAmS0xgC9tJQELdQSkKG3d0M+DpHbZ90LBpKbPgycXlETUOELcen3E2rYOPXQL5/KsRBQqIcR/KZszaOowRo/XYgB90VR7TqQdR6JYKOhalTf4yfBuzIKPjj8vzUhmGu7O9WN132MQJkn8DkpcReDLbHiPgy35qtkP1vvIZSzzbMle/+mEM09FwAptGUjI9S6I66RU+py/+GNyrAoYk82EolwuVIJCzAw1Lwf2UT5SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=T++iXGNCCTiILKl7/hzw+tyTJt/U1a2u2epPVKE2bGE=; b=hVUItDRULZ8+golZmjQ56LdDDie7JcT6Rkx8oQ1UJOdrulbe6CRdNT6b0gZa0ehRM2q0eRBHe+FFZOhsSLKGJ2/lt89vcTh2rlYRXjQI7KkOzrMaPwkGtjd9WOcAVdPXmdWoA1MIVMMD4qQUsmfUdxqESc10CXA4QYlrku/FW7KW6FX+jX4JOGwrEUxMw23JoKm6edUzaZ5JWIas8cihk928CiRF4xBXSwCoxhNX+dO4wERLSKerzfM7lRuKqZavnofH8LOpeFT8yqwVwgBzXmaEn0Xzcm47p25hDIOkMUdkbLBalZ2DeungyZuiNSgvU+KW3LBTv7IrUjugyKHDIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:333::17) by GV2PR10MB6258.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:74::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.23; Thu, 13 Jun 2024 16:11:04 +0000 Received: from DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM ([fe80::e659:e46:3b99:a440]) by DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM ([fe80::e659:e46:3b99:a440%4]) with mapi id 15.20.7633.036; Thu, 13 Jun 2024 16:11:04 +0000 X-Patchwork-Original-From: "'Storm, Christian' via swupdate" From: "Storm, Christian" To: swupdate Subject: [swupdate] [PATCH 1/3] Lua: Rename lua_init() to lua_session_init() Thread-Topic: [PATCH 1/3] Lua: Rename lua_init() to lua_session_init() Thread-Index: AQHavaxKPj7GuQl9DE6sAKEUGtT33Q== Date: Thu, 13 Jun 2024 16:11:04 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DB9PR10MB5404:EE_|GV2PR10MB6258:EE_ x-ms-office365-filtering-correlation-id: a6275a05-2ccc-4f8c-a9b6-08dc8bc36d27 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230035|376009|1800799019|366011|38070700013; x-microsoft-antispam-message-info: raMI9LJKz10FxaaMpwWEssDzMGbsF9Y81RFv4VCDVsUnTFnD+iqQd7XeZJ6ddqyJLfxfUBb5SYH0ntrUQaaHBsw1SbaViTMxtWeEa1SYMXaoiir1oZBwdT8UGxCMaS9uyr5LkaxlM93G1h/0+EoIW6m4CJ+M522skEhUAMCVk/oSSKSA4LU7IcN1CBin5wg6NiSuAKBi9AoZvfnUuWOgoJezn8SUteX5NYkkRsrHgF67ksDAW7tkt2AGmw7rCihYjbbRp5U8P5zGcvrDcuges7fTqyGg95dV59BzMM9T1ZJWNWNrW1NP7hJKylNXqbbSwR5XRuuUaSHgaWw7evQKmVVq5kT5CmGzjLS/rzwTwPngm3SzzcOVPzyBnlBnf2Pt20LxdNUzrrKHFBDjE9ogzki565QOvkg+eRImMNUcSZtil2XajN/8oCqQI0qYZMeSPDJv7XlmhR9kQ+Xj/x3x4ZmoFfUWALU5r08/hacUxlYHt7VX2WdQjs2i1E40kbruY/dXuJKCEc2CabbbwEEp7VSx/qbVYcj91APvsv4nB7t4lCs2fC9sTys7KCR9ee9vq6RFwYR+dsozyCcISl/pWkkwyIuzi5+qP7dXEEYdcOrk3Z5b08/JOYPlvUvaYZoYV94oYXf74VO4gsyt17QmdZ9k+iFRVPoJrkTrQffwl9PY2cIopZp5JOqedJo2HfCTOPVoxQrXLd3XeV75xQScbcluTMaL9b+I2vITiWnR5mgwKdl4Xg6BNNxGNaX9YDRixwKUnkAfZ2aWo5L4sV6C/a4euDQ6SI5cbCx5x8SmmRxcsor47AOvWej3CdShznCXUdXul45v2o+QuCAlRf+p8TSGBDFf0jbBUbL2YQcrE+xCvLGjM6h8LFaBVqX8A9uiTIDUo6F4zrRvWQHVpSsUAVH4VryGEdajquGWIl6BijH1GBzvDkGptb41/kZ7Dqv+pg0CIcxCi20xPrwz4Get6ay7UCrj64BNPt4wCC+sw7vgdZpYKFqANn2r5awagwpOgZZiPK+14nb5hTJ+zbqU6PKUfhj4BR05ZcCIskn7TLfqUkMXu535jroM1lq9eRAelV14h/7Wri6hVt7hyVwGTNQyvLh5ZkVSyK0q9DwqOrMWQpbf/y2nMun9oCQ9wPq/0F/6ycNLIzst6k7yeV+5o0eLr/p/v9E2zmchvV9/WFHMwADXoW4bXAsck3YtQCoEqkgX6Dw9qsAhmqeRv1pnXrp6yqeUQpoO1olm13MJhz/71NJE6aOsn2Ai0u1Dhb6BxJhw2sAPd5pmmoGXitWswV6LOxt9jD7kq8gvmQiMxRCp/AJpmI3akjBJlTHUc5C8LNQ1ukkdOhJ2wXvJLinW0wbWlNQ/+gFWf5VPAWdTkZk= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230035)(376009)(1800799019)(366011)(38070700013);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: Rev9yyLRnssKC5s3ZhxIbzq+yF2c1MIZIOGaR9Vt4v7qBV4Uy+xxvOsuveeuhvhLMe4oVnVu/QrvDiRH28tT8B+OvWAuDypweP7xi96F6CVqkm+RI3SU9ghSI4m5pJctPJujMwdrdhpjkkckH4KTLY2G4QuIrRDZqCxlEtE8HLJZqiQUz1SgK0kjscJ8koadD3oCLDXWmxtTk/9U4vvvKvCmZo11ftWsuf4CaVhU+bjJVS9dqwIKQQUO2uzkE3EoQdMzpJWyv0OssRlK/vMiL0q1Y5S5bNwj2GbdsqWoqzmAND1CiqtPTEA8pnpRoHnS8nNKdTAJWy/lTLOKDmzUBrcUGZD7hQGFGvAO+JcqUvasjUmU3Me9Q+LXYPvR3hq82ABMa5Rfxz8fjhxBlrRCsGfwpeJgHNdMUYY9C/IqXJxGAGbNRRkurLPAw3rbw/Of0L6mpP7TKl/6fMmRjzwjTYyDbLY/z+UdB1ngNEAAeoW8DQ4Bua3HAW8qIxubk46tpSDxAG77o2CFthS5U2wdjt1fEneA3uF4dJSZ6bMXfe0KICdvmnwhalHyw4+OfKdNJR4GaEDw6m1rxeW/xgzon130RgJo3wtt8RlUJdx8DwOMx+u5lfgC79dNDykWvCv5EnPUKr1pW2jVSazH/flv28T7PxK+i41UGCJ3QvSGEU9IAjBRjLTwV3cUiNGB1iEJNjD2mNoCke/2KN1W3KQN3fKI3/hL98U1q03ZReO3NME4zq99iwo+NRE6MmJefb9JPrlKFS0aZPaUlEtzWMHV9gYwNJ0QWh64yl1bc9L05xj8pQ3IZJhr48N9XNye063ShtyA2iUJh7mL474aGsh8Rtl4XeLXN36gwHTFmWL/D530JdjyGasgGph+w3PsMa/B6SdFUm+vKUjGlQIWTDSlMJdhxU/5t5KoXlym/1B7BmoQ90MD2YY07HoKgp1CfLgpfPB7AsTW+VZm0SHmQ1Jyy4aPtdqZ4ttBETsbLoct2xcQaFvGQcH3waUL10miVmCrV7j45gidaRLQaKZKII3Yz9iLF3dfdToque6adtc9ThMh609KIetFlbNmnVCw7hQxvpvNsJXa0HciTqQVEJmn/T3MziswuTt/RwR/Ez4rSjgZjbD2KFSOkoLgd4om9Gq+efPyF/aLqFGgqtE24oEOChtzbE/iPGN6tN6pgnX0CP2UF4WPe/952t9oPZiaI8TLfbVG+sRAfxLiCtzCwxrkXEuw3qZHA0z8QpZ8h/XK/MddNZtgJd5TSYmAIafKsvo3hGRpi3b/2X3cv8YUFacysqQEGamUyHJHXTEX89ze1HKK00OuhyLjVKu8m086/iUe2WcG057GP240g+9RH0Bt5+y8HL7tCuXoBOM4yVrEiHzvzyG1WDKKPLSJWyCimZC9kACY0icIukuan9wXjJ5M9AV8xrAmLWUPoINmTOW+aDSBc/iAY4Qr8oJw1CdX/VyJY1Rie4Nk/jsVQzcZhEaGD0Imsi0wpGliiX83qZFhjPKfzP6HZFJ8is8KwjIQOoEl0rElPjK82GLazOBQtHtk44aJ8V5hy4rYjSQ96MU90FIA3ZAi/8wBUQcPtCXR3tLO3BjydeOXH76+04dqwII3aw== Content-ID: <4DFE7339062BD049990B36EA9D0354DB@EURPRD10.PROD.OUTLOOK.COM> MIME-Version: 1.0 X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: a6275a05-2ccc-4f8c-a9b6-08dc8bc36d27 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2024 16:11:04.5427 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 17vYJGB63o2HitPpmvkR+bgVf+5nvoqhmxJB8MX38DhLdj216z8gX+WLH4Oy9gb0YKNUdvmS6+sAaRtck0fABA1ZMYgtBu0Vx0lIhyNZ4vU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR10MB6258 X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=bDeHTo4C; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f403:260f::616 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: "Storm, Christian" Reply-To: "Storm, Christian" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , The function lua_init() is actually only used for sessions. Rename it accordingly in preparation to a global Lua state initialization function. Signed-off-by: Christian Storm --- corelib/lua_interface.c | 2 +- handlers/lua_scripthandler.c | 2 +- include/lua_util.h | 4 ++-- parser/parser.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/corelib/lua_interface.c b/corelib/lua_interface.c index 5438f536..cf13d685 100644 --- a/corelib/lua_interface.c +++ b/corelib/lua_interface.c @@ -1582,7 +1582,7 @@ int lua_handlers_init(lua_State *L) return ret; } -lua_State *lua_init(struct dict *bootenv) +lua_State *lua_session_init(struct dict *bootenv) { lua_State *L = luaL_newstate(); /* opens Lua */ diff --git a/handlers/lua_scripthandler.c b/handlers/lua_scripthandler.c index 009c0557..bfc40d77 100644 --- a/handlers/lua_scripthandler.c +++ b/handlers/lua_scripthandler.c @@ -74,7 +74,7 @@ static int start_lua_script(struct img_type *img, void *data) TRACE("Executing with global state"); L = img->L; } else { - L = lua_init(img->bootloader); + L = lua_session_init(img->bootloader); } if (!L) { diff --git a/include/lua_util.h b/include/lua_util.h index fd5ee5c2..1cbd4b1a 100644 --- a/include/lua_util.h +++ b/include/lua_util.h @@ -21,7 +21,7 @@ typedef enum { void LUAstackDump (lua_State *L); int run_lua_script(lua_State *L, const char *script, bool load, const char *function, char *parms); -lua_State *lua_init(struct dict *bootenv); +lua_State *lua_session_init(struct dict *bootenv); int lua_load_buffer(lua_State *L, const char *buf); int lua_parser_fn(lua_State *L, const char *fcn, struct img_type *img); int lua_handler_fn(lua_State *L, const char *fcn, const char *parms); @@ -100,7 +100,7 @@ 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 lua_State *lua_session_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;} static inline int lua_parser_fn(lua_State __attribute__ ((__unused__)) *L, diff --git a/parser/parser.c b/parser/parser.c index 04d7b72c..b092ebf6 100644 --- a/parser/parser.c +++ b/parser/parser.c @@ -1024,7 +1024,7 @@ static int parser(parsertype p, void *cfg, struct swupdate_cfg *swcfg) swcfg->embscript = get_field_string(p, scriptnode, NULL); } - L = lua_init(&swcfg->bootloader); + L = lua_session_init(&swcfg->bootloader); if (swcfg->embscript) { if (!L) {