From patchwork Fri Jul 5 06:54:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominique Martinet X-Patchwork-Id: 1957127 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=ThihPgsL; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::d3e; helo=mail-io1-xd3e.google.com; envelope-from=swupdate+bncbcwivbv7sugrbm5rt22amgqe6bkql2q@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-io1-xd3e.google.com (mail-io1-xd3e.google.com [IPv6:2607:f8b0:4864:20::d3e]) (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 4WFklr4HnCz1xql for ; Fri, 5 Jul 2024 16:54:47 +1000 (AEST) Received: by mail-io1-xd3e.google.com with SMTP id ca18e2360f4ac-7f63eb9f141sf201818739f.1 for ; Thu, 04 Jul 2024 23:54:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720162484; cv=pass; d=google.com; s=arc-20160816; b=lrOJX4mgzfIWNtTBwC5FMromgUcoDYU6M4belSwOxzKVJKPPDlF9y3tdGC2EKjXljl IUzxNsyqA0ZhHkAS5uwHMfXcfwkj+CZ3knGBMIYB23S7FvmpdrmHdWW+e2csn+VJrVfJ 45GZCyJFF/kdiER8zQEq4RRRCspmP/udnVoUKNBgkTpyKnwPEDCtVIZCIf4ssupGFUKx 7AtVC+rvJTAGKp2rmBEADOc1aoGpOvEVKuJnEgQPSWpO/ymNOHcihwuybUIekC1pjpLG CFuhTg+UqK+8J94zfYm2fLWWCh1zFE9p5LU/VNwIz41ubh0aMW6/t17WH4CcMi4Oqa04 +18A== 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:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=sIaJSPuCFzGmnyTeZMEmRLB+YMJQWZGj3SeB5nXR/SY=; fh=QXLbjO4E++HgaAGQSGxBaOSfG0ElqqnVsp/c1V+v55g=; b=a0QgCCcHwmKBCOFQEgyobPuVreZlTaLWGphM2cUuXiOmVG2P+TIO7ZcrleN0vCCRJZ rU+EvTByBFjCpkHpCgAKabfHHxe9azCp9TXY3hH+6ZQbUVJWTIgztKWnIjuZduYVEpyL 9FbiIEJ16xayXSyYi9l9U0LMOJh7+mcuFCWxuAZXPYOXAz5HFJMa9ORUiBUewBOOf7Q4 BGKy2Cb0JjqwS6armTxIL1XHShSGidFBxSGu4LtgrpCekbhAAd4ksPtdT+x0ArRlNeEm wz9bNf4axcnm39lBtSJ1RReiwhyDLG8GpPsuFtixPSRaFy66yI3yCA6jum90bCjklaqT MVWQ==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@atmark-techno.com header.s=gw2_bookworm header.b="a0sLqeA/"; dkim=pass header.i=@atmark-techno.com header.s=google header.b=PluDpjSU; spf=pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) smtp.mailfrom=dominique.martinet@atmark-techno.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=atmark-techno.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1720162484; x=1720767284; 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:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=sIaJSPuCFzGmnyTeZMEmRLB+YMJQWZGj3SeB5nXR/SY=; b=ThihPgsL9UgGD63EMjEI+U0FoN+nVv3zZGO95WNMuKCfUf273i+RxzhCcsslXJVNXA 2AXdhcpYo6R/84Czj031X/YL+ZBPAliKWH+5OGSEdgNeCovHN/d5k6bJvSRGQaM7hkD1 ci5mK8CPumlTrMQnOgSbY4qRUQoN2/clW36JbKGYwJlzaeuTDDcMXgPkfYwTpvCjLTEw R4R+Ju2vxMsJTAs5YkVWH6p5Ul5i5zO5zyDmYjRFczJwE1riz9OHlCaWPkmyWAEjPZWU NKyDl3J03U/nWIexJrHDs8yelhA20aT7nRZi3qgRD2VjxBsXO+M7oViA0pYep26IuCMI gjqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720162484; x=1720767284; 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 :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=sIaJSPuCFzGmnyTeZMEmRLB+YMJQWZGj3SeB5nXR/SY=; b=NV0n+iuyHikwetSjVeC8fX39HOLutblzoWP04AuAYqtacxAHZ346iHGqhY3W30NhPM GVa/PTnA/Hws3GqF/uV8scSg2M0hOVQMyej6QwqzirHgm20gWh+uzhoI3EIg3Vb3XUe2 AxU0DtLd1ean6t1mHCKRodtjSQGZUdedsWkmuM/47BEDZHp5zyUQKj0GGUHXeUcQv8OF FeL8aY78Whc2Ym/jIaivmxn6iyY0heNUOVQyxbL5Q8WSOBgWY688gtBthMkrYj9GA5wv oRlZBmvh5VsXfO4d5I3Jw+VkYp01U4EmHuUOYkt6CDyl2iPKxI4RZ+68paFzcfpxuWc8 oI8g== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVwdtRMaBIKxd77bGCtxrrtXGUzbo3uK5UbFs9fP5UnG7x/0Z2qnN7WABRNNsrqU/wUAL2WAQ1a2DENQLWqluLqEO5x6tu3eosjuWJzkg== X-Gm-Message-State: AOJu0YwdMLQ22h1mPzics5cILCTX/A3ssOdsipelOJyP6FnYLl6Hseqx rwbFLG3nYvSl+QCL/EnFg5sFa/cWjVAjE95P937iwBOoH2c8tFfe X-Google-Smtp-Source: AGHT+IF/zUY0EzNlkcPzEqT7emp9fBTgseOdxd0um1sNOK5wtOGe4BRXjCIXLezCwlYcTyD3kQzbAQ== X-Received: by 2002:a05:6e02:b47:b0:376:490a:2d94 with SMTP id e9e14a558f8ab-383c81cc9fbmr23205195ab.0.1720162484349; Thu, 04 Jul 2024 23:54:44 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6e02:1fc9:b0:381:3c72:a80d with SMTP id e9e14a558f8ab-3836e435babls6316635ab.0.-pod-prod-00-us; Thu, 04 Jul 2024 23:54:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXSL2yIifGR2jQzet9SzeRVu9NBqtFbvmHxHE7/w2gn3BqvPgrP4cuirWlm8lHs38MFFEdj/+7x1jnfYos15Z80XWCCJFtNYA3p X-Received: by 2002:a92:cad2:0:b0:376:3fad:bb82 with SMTP id e9e14a558f8ab-383cb229a59mr18686735ab.2.1720162483259; Thu, 04 Jul 2024 23:54:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720162483; cv=none; d=google.com; s=arc-20160816; b=YS9Xw53GsT49h8o2uxGXlUSfEHdr2oAzz91ETK9v89fWkpzXGbGucKeKNRJui4DsGD as3+s67zGjVcnunF6VLH3O46AHIBgBc1twjV4SsWL+yi8x4Wqv9uLg1WqsAkQ7I9GSgh uMT2x+6CoTHAoKEzmTEjYj+JqKwBtojyVaGgdT982p4CWB/lV8XRQJG8Gaw1t/UMwtrp vEG4ifOY2rt3oL44nmuGcsva50H2VRIzU58YKgmR2cTLKxifOuQaCpdqV+ZkA9H8WZD7 mysG6aZW0iPye7ovFpSo8Hw/Cfn4OiaWNZNT/V6AQ56nS9FGHyzASTAlipTf3nffKeHN 3zNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-signature; bh=/XehRG4rmXen1xtRa7g00IbEdjXIjmjpILJtpL46DIs=; fh=uYrBUXXDHiRwAl8nOOrHrhDguWJku1qHQjmiS4lSOWY=; b=JswcORWsx3ATfhkO+gV7CPakKVqIBvtejW7yNv24SxBBTxYOJCBkkI5fMWhzPDJYpr ze8CjxlL6VoFOpbM4IdvGvtwbF9xwmAIkvvhMgz1RehjVpZocFLi6W/hO4+bOXvwDG0K uZ9GfG47kn7tgUzTiqFcRRA0kIJ+IRGeYGtFcaeF7jhhuWFM9T24WAPnR2VZlV/g0YLQ pxtmkAEnGCWhEKbFmL/nbwLVdEYKpw7yPs9Cud1Tvny1Br3i2IiHI66QOH7/ji3Kmt4h bb0hprlY4/x4tQ/7gphp4Nae7m9q1X2lb0HXqnJxwhpQFb61HILTy3ogIZBRK95N2TkL hnQQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@atmark-techno.com header.s=gw2_bookworm header.b="a0sLqeA/"; dkim=pass header.i=@atmark-techno.com header.s=google header.b=PluDpjSU; spf=pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) smtp.mailfrom=dominique.martinet@atmark-techno.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=atmark-techno.com Received: from gw2.atmark-techno.com (gw2.atmark-techno.com. [35.74.137.57]) by gmr-mx.google.com with ESMTPS id e9e14a558f8ab-37ad483b232si5650615ab.3.2024.07.04.23.54.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 23:54:43 -0700 (PDT) Received-SPF: pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) client-ip=35.74.137.57; Received: from gw2.atmark-techno.com (localhost [127.0.0.1]) by gw2.atmark-techno.com (Postfix) with ESMTP id 1500247D for ; Fri, 5 Jul 2024 15:54:41 +0900 (JST) Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by gw2.atmark-techno.com (Postfix) with ESMTPS id B83D1372 for ; Fri, 5 Jul 2024 15:54:40 +0900 (JST) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-1f6810e43e0so10330325ad.0 for ; Thu, 04 Jul 2024 23:54:40 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCV1ql09gJ0Gaa9LE6iCJf/by7tDB+z6qoquCwfaB4J88d32XT2aUjaj9+702IILqRIRdzjhGZ29QqYlcyVrYayZlnfp8YUo09I/ X-Received: by 2002:a17:902:684b:b0:1f4:a04e:8713 with SMTP id d9443c01a7336-1fb370b48f6mr39918845ad.28.1720162479758; Thu, 04 Jul 2024 23:54:39 -0700 (PDT) X-Received: by 2002:a17:902:684b:b0:1f4:a04e:8713 with SMTP id d9443c01a7336-1fb370b48f6mr39918735ad.28.1720162479380; Thu, 04 Jul 2024 23:54:39 -0700 (PDT) Received: from pc-0182.atmarktech (117.209.187.35.bc.googleusercontent.com. [35.187.209.117]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fafb5c3474sm63119005ad.94.2024.07.04.23.54.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jul 2024 23:54:39 -0700 (PDT) Received: from [::1] (helo=pc-0182.atmark.tech) by pc-0182.atmarktech with esmtp (Exim 4.96) (envelope-from ) id 1sPcq5-00F8cO-2Z; Fri, 05 Jul 2024 15:54:37 +0900 From: Dominique Martinet To: stefano.babic@swupdate.org, swupdate@googlegroups.com Cc: Dominique Martinet Subject: [swupdate] [PATCH 0/5] misc fixes Date: Fri, 5 Jul 2024 15:54:29 +0900 Message-Id: <20240705065434.3608030-1-dominique.martinet@atmark-techno.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Original-Sender: dominique.martinet@atmark-techno.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@atmark-techno.com header.s=gw2_bookworm header.b="a0sLqeA/"; dkim=pass header.i=@atmark-techno.com header.s=google header.b=PluDpjSU; spf=pass (google.com: domain of dominique.martinet@atmark-techno.com designates 35.74.137.57 as permitted sender) smtp.mailfrom=dominique.martinet@atmark-techno.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=atmark-techno.com 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: , patch 1 is a big problem with hawkbit, swupdate not sending notifications to hawkbit properly, I'm ashamed I let that through... other patches all are minor and probably don't really matter; I had no uboot env setup when testing from PC so also found another couple of issues with that, but most people will probably never notice. Dominique Martinet (5): hawkbit: fix process notification not sending logs swupdate_vars: check namespace init worked hawkbit: do not reset action_id when getting from env main: free cfgname before exiting network_thread DEBUG_IPC: move off the msglock section core/network_thread.c | 7 ++++--- core/swupdate.c | 1 + core/swupdate_vars.c | 4 ++++ suricatta/server_hawkbit.c | 14 ++++++-------- 4 files changed, 15 insertions(+), 11 deletions(-)