{"id":2223415,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2223415/?format=json","web_url":"http://patchwork.ozlabs.org/project/swupdate/patch/20260415094231.942-1-a.a.kikin@gmail.com/","project":{"id":58,"url":"http://patchwork.ozlabs.org/api/1.1/projects/58/?format=json","name":"swupdate development","link_name":"swupdate","list_id":"swupdate.googlegroups.com","list_email":"swupdate@googlegroups.com","web_url":"https://github.com/sbabic/swupdate","scm_url":"git://github.com/sbabic/swupdate","webscm_url":""},"msgid":"<20260415094231.942-1-a.a.kikin@gmail.com>","date":"2026-04-15T09:42:31","name":"ipc: Fix args order for swupdate_set_version_range_type() call","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"8792a19c9d6985a3143f28e68ebd933a3494cc5b","submitter":{"id":93158,"url":"http://patchwork.ozlabs.org/api/1.1/people/93158/?format=json","name":"Anton Kikin","email":"a.a.kikin@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/swupdate/patch/20260415094231.942-1-a.a.kikin@gmail.com/mbox/","series":[{"id":499952,"url":"http://patchwork.ozlabs.org/api/1.1/series/499952/?format=json","web_url":"http://patchwork.ozlabs.org/project/swupdate/list/?series=499952","date":"2026-04-15T09:42:31","name":"ipc: Fix args order for swupdate_set_version_range_type() call","version":1,"mbox":"http://patchwork.ozlabs.org/series/499952/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2223415/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2223415/checks/","tags":{},"headers":{"Return-Path":"<swupdate+bncBCTOTMMASMIBBFV37XHAMGQEHHJLBTY@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=googlegroups.com header.i=@googlegroups.com\n header.a=rsa-sha256 header.s=20251104 header.b=eho71hdl;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=MnQmLQtq;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com\n (client-ip=2a00:1450:4864:20::63c; helo=mail-ej1-x63c.google.com;\n envelope-from=swupdate+bncbctotmmasmibbfv37xhamgqehhjlbty@googlegroups.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from mail-ej1-x63c.google.com (mail-ej1-x63c.google.com\n [IPv6:2a00:1450:4864:20::63c])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fwbmK3NY6z1yHM\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 15 Apr 2026 19:42:57 +1000 (AEST)","by mail-ej1-x63c.google.com with SMTP id\n a640c23a62f3a-b9c603ec28esf703674766b.2\n        for <incoming@patchwork.ozlabs.org>;\n Wed, 15 Apr 2026 02:42:57 -0700 (PDT)","by 2002:a05:6402:a594:20b0:66b:f593:baec with SMTP id\n 4fb4d7f45d1cf-6706df5d8e8ls3219230a12.0.-pod-prod-08-eu; Wed, 15 Apr 2026\n 02:42:45 -0700 (PDT)","from mail-lf1-x129.google.com (mail-lf1-x129.google.com.\n [2a00:1450:4864:20::129])\n        by gmr-mx.google.com with ESMTPS id\n 4fb4d7f45d1cf-67237d7da88si23998a12.2.2026.04.15.02.42.45\n        for <swupdate@googlegroups.com>\n        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n        Wed, 15 Apr 2026 02:42:45 -0700 (PDT)","by mail-lf1-x129.google.com with SMTP id\n 2adb3069b0e04-5a2b636b944so7462470e87.1\n        for <swupdate@googlegroups.com>; Wed, 15 Apr 2026 02:42:45 -0700 (PDT)","from localhost.localdomain ([93.92.207.24])\n        by smtp.gmail.com with ESMTPSA id\n 2adb3069b0e04-5a40a27b66csm336903e87.19.2026.04.15.02.42.43\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 15 Apr 2026 02:42:44 -0700 (PDT)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1776246169; cv=pass;\n        d=google.com; s=arc-20240605;\n        b=J0jBNwKGGF5aLiBQCzHJ+G38q3cuAvgRzsqG85D/LGoj6ZOH1MyWFNYfHZRVatUxlH\n         16ceaSmLhgL7F895bxMCcg/J1Vtg2yldZ0Ku//hhpxliIo2GDNnZWGsM7kGXKTDMhWPl\n         LJwepGmkZbEUgKF/leSsP15WOYt+wFSVfUL8uIDdLDp/OqObzh5k8/22EUJgkAJ7K0bv\n         c96wHw1DPtaIsnII+al9IGCq27+Phou96Rv2jfA7tVcIcTnNDr3p4GyLxLgVLRp+0swR\n         ONgLvR8W9Ve6nCHwCTHLtzQMkLWUss+IUyxL45S4H1EHK+slrJLKPCxqILD4+5cPgzCm\n         oujg==","i=1; a=rsa-sha256; t=1776246165; cv=none;\n        d=google.com; s=arc-20240605;\n        b=UU0NyW3mmaGL0nquP/zJLsE8Zwz2d3xqoYL4WBapeI4eBvfIp3m92PlywM0OLvLMPi\n         4kTcvL/mISoMaDE3UUu6JFOWNYnCD7JPIikJARd6L5dD9zsUt8zKP+wOWvQppIJp7fsT\n         xT8BKk/Pk4UWf8pc/PJ94HEfdTPJ0f9kdp0WpltZR1DJoMdNWP+jJtaAag4/H93tahJM\n         5OXTDR90NLPMJUyqhnezCubLuW1nj22/rSlp5GNS7jt6vqB3ZPAB+V3bq+AScHeEB1gf\n         GMPDnueU2VvRNwS+Ewx2bX7v6453VYwQUqSQCB+ZFOMMbfpTox47uTAq5IQVfRxeL94O\n         zPRw=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :list-id:mailing-list:precedence:mime-version:message-id:date\n         :subject:cc:to:from:sender:dkim-signature:dkim-signature;\n        bh=KZQyJS7dQAo73Tjb5ISIL1bSXKR/UbcTLcYwtmTjWQs=;\n        fh=SxmW9UL+cCd6I3OKb7AUexgA05hhoPwOim5Hr/ZFJNM=;\n        b=YbNH8w311fUJqzSGQUKacdGFH1U3GAuowrp3bw3OOw/3lA661RQVD/8ouyWVKnK5GN\n         d7ckqi1Rxe1Yp0kslNuNcbZNdPgjlLTXtVeMDSrKKL/LvLuWEXOq508kuBsGoJhmWevS\n         +HV1AYpO0HxcPVsZYg541BKDdRUCBLM3YMrCKpsqZPWkCVo0L/ekDCZr0likCqmaPHas\n         MFbuTLCxXRIz3VokMyaVdgMIHeszx51c9m69yLrfq2Kb8K/K0EHA9bz9jS4yYBJckAOk\n         0rDFBNjMVriHrIz5zqukkaP2UTMsCSZY85o9VbMicjduo6Zuusm5mc7nCvJ6Oli8h6fW\n         8OsA==;\n        darn=patchwork.ozlabs.org","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:dkim-signature;\n        bh=RbbUkuPPNT+BHGeiTWW7K7XYqaGjPH+YmrqT9LzzpA0=;\n        fh=ySzdM3doinDlQunJNwzuh/WxtYhXjQ1hKm5n5LNcC/0=;\n        b=S2c6axY++hXnTjthg+HuN4I6iq4XlDiqmsknuudGdjawr96LHmx32Hi8BXy1EIX0R3\n         NGs+6eHu7LrfbLcSuw4RHtk+0XMT8pdipAusrn4XoteUdIod8sGo/7diWKZFfcYO6z2J\n         Ah78XNl/ms/H21IDwhVAwaPeyB8sXLQlNsxFm87Ths0e1H24EoFcMu+RCncMjXm8RgA+\n         QJsAWR9iqsBacIB51Oe0928dgnDawDFmaIHyfZNulYeXUOrKH7jkLRgvmodR2P+R8zz5\n         bL0jbaNNZ6HT/fsVUYOwnurPVudlGeDjtbuWAiqMgiJbAWhnWJNV/oYXn2hSaxOyVgAd\n         C1UA==;\n        dara=google.com"],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n       dkim=pass header.i=@gmail.com header.s=20251104 header.b=FP+ja9BL;\n       spf=pass (google.com: domain of a.a.kikin@gmail.com designates\n 2a00:1450:4864:20::129 as permitted sender)\n smtp.mailfrom=a.a.kikin@gmail.com;\n       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;\n       dara=pass header.i=@googlegroups.com","i=1; gmr-mx.google.com;\n       dkim=pass header.i=@gmail.com header.s=20251104 header.b=FP+ja9BL;\n       spf=pass (google.com: domain of a.a.kikin@gmail.com designates\n 2a00:1450:4864:20::129 as permitted sender)\n smtp.mailfrom=a.a.kikin@gmail.com;\n       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;\n       dara=pass header.i=@googlegroups.com"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=googlegroups.com; s=20251104; t=1776246169; x=1776850969;\n darn=patchwork.ozlabs.org;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :list-id:mailing-list:precedence:x-original-authentication-results\n         :x-original-sender:mime-version:message-id:date:subject:cc:to:from\n         :sender:from:to:cc:subject:date:message-id:reply-to;\n        bh=KZQyJS7dQAo73Tjb5ISIL1bSXKR/UbcTLcYwtmTjWQs=;\n        b=eho71hdlUv9Kw1tgooKj51AETwmU4lqK7ZchiMJuk5+i9Wmic3f43RSdH2zkMAtiw1\n         HrsCPHIR1rTqFbabYUMGrQZiWyMWEy9E2a0FSgW/2aXKOFFP9OjA/wlq2jKJBZ0Ver5Z\n         Kpk340/w4BYee87j9Io6R5o6peK1YsOPdXyXDNyb3ywDftkHnPRaoQW63eIuALMx37hx\n         KxMlQtjeL/J0IcuwzIqwH7BSbAiXUFX80KcCK7jTVvkKuVB6LkboZ4yWg7t0O0T45IoH\n         j/4b4m15rDs8AeTuKb0V3hIOkkWx5Zqlx3VXdRUyIy7gk6/b7G7RpHAac69d46uqCutc\n         vYPg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1776246169; x=1776850969;\n darn=patchwork.ozlabs.org;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :list-id:mailing-list:precedence:x-original-authentication-results\n         :x-original-sender:mime-version:message-id:date:subject:cc:to:from\n         :from:to:cc:subject:date:message-id:reply-to;\n        bh=KZQyJS7dQAo73Tjb5ISIL1bSXKR/UbcTLcYwtmTjWQs=;\n        b=MnQmLQtqFIQNmlKT8ZuYKg7XC/0g2WrqcG5c1OUWxThURXgZQPfTTi+lBxDajuU9iD\n         +u2KKcAFgVnTwwl1hWfb4A0PGOtuiuBQcdSwFxmGgq4c986b3LK4VsMeaKlqMDCzjd8q\n         wJObkAXDDv5Ggl5eVT6ENG/j4xs6Bd/XxbcEVHzRmQQtjlUYT1geFxWDv0G2xzLFc6LI\n         X7URWYotRMKBxcaG5jKZJL8UzGykAX4FEoBS4wlAFRjqq0v717ruiOo/HOsBXrlJEr6T\n         T2XD5CGY0LU8wTTdbiEF3EbY3/RVxH2Kds1kG7ValXwReMXMENbJ2Zwf33w5L7a21myw\n         MFTA=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1776246169; x=1776850969;\n        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n         :x-spam-checked-in-group:list-id:mailing-list:precedence\n         :x-original-authentication-results:x-original-sender:mime-version\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-beenthere\n         :x-gm-message-state:sender:from:to:cc:subject:date:message-id\n         :reply-to;\n        bh=KZQyJS7dQAo73Tjb5ISIL1bSXKR/UbcTLcYwtmTjWQs=;\n        b=XPgxSc0wJoXbiaeB31/Y8IGVxTMTJmwB7lYhWjovbzVMMbb39ZG3aBzx/m01tNS1FV\n         NtGKufvp3MHWCMckePbnHfpnLm7QfzmKZywOHQ58cNGnw8CBhxJXZZljegu23glkqFmS\n         /ILZiAw7RDGA6YPcuQe0THLaAAxU64ZK3t0zpM87DxZ94O1GGOHYj3l+MI2Ud57v6A1q\n         cAWdedRtIXUEFuTb1u0G7WSNLOlWt9swrwmuv0MgIcCdHGJacsyK4aH5gr4nFlJazOz9\n         4rsirKt+uflkUdIsCvuI6JTkvLDNfYJY6eG8w5i6tMO5y06ZMQFYzMUTUta0uVY961La\n         bjuA==","Sender":"swupdate@googlegroups.com","X-Forwarded-Encrypted":"i=2;\n AFNElJ8WUsNEQXV7vkSEGY1qWFyKQ2w3UcTNqSwifU5cdzet1fkUxiPrSCjGKwlUVsxQh9GdpteWd/2wjQ==@patchwork.ozlabs.org","X-Gm-Message-State":"AOJu0YyF6fSP9K4guUr5sApUxBLPGg7pdkK3yl6oyvyEXVJlCfvZRDYT\n\tK/KNK+Y8bM4QbRdTZHFFxDjambWBuIsBcZHGPWqNylv/+85ZTpkhl4jY","X-Received":["by 2002:a05:6402:3207:b0:672:40fd:d7d2 with SMTP id\n 4fb4d7f45d1cf-67240fddff8mr751535a12.11.1776246169440;\n        Wed, 15 Apr 2026 02:42:49 -0700 (PDT)","by 2002:a05:6402:21d7:b0:670:a2a9:ff6e with SMTP id\n 4fb4d7f45d1cf-670a2a9ff99mr7816722a12.19.1776246165472;\n        Wed, 15 Apr 2026 02:42:45 -0700 (PDT)","by 2002:a05:6512:23aa:b0:5a4:52f:f749 with SMTP id\n 2adb3069b0e04-5a4052ff808mr2459716e87.19.1776246164386;\n        Wed, 15 Apr 2026 02:42:44 -0700 (PDT)"],"X-BeenThere":"swupdate@googlegroups.com;\n h=\"AYAyTiJwQKmCnxyrmCdXqyERzRDGgTUUmIazN+3cETowwm54eg==\"","Received-SPF":"pass (google.com: domain of a.a.kikin@gmail.com designates\n 2a00:1450:4864:20::129 as permitted sender) client-ip=2a00:1450:4864:20::129;","X-Gm-Gg":"AeBDietfoMrBrpjxVxg5Gh20ME4YQq0z1ci8yZAZXVRWsQ11seIvNs95mj+icsmbIdJ\n\t86Sg1vPMOFTMFxj2bXGTeb/jsopVZpKORBMxguzFc5xbC/tGesiOeVyc4L2cNeNv3OEiCFIMiPX\n\tZoa0HUHj56la3teYI93tp5VqGaLGIL7Hf9pkggT6oY0jjnbLWKDVjj7JmQ++xo5P1Vz0uykjqTK\n\tEZ6a/KM9kWegK4GDzsnQx60Lp6NRu2NQYS758Kcbly43IDvrqJEQXIt6dhBty6wslz+Q1F3vX/i\n\tFdYXERz9T6FXEffvcZLhg9uGlwAdj5xYGsaPdmDDvTDn7kFmqm8uYm1zjBIS0cGQL0RrJrk1GM9\n\tIT1N+P2qxxsaqGOFxf/QuPOA30b1ZoG6UN73GbEj2s0cgMilhQpGKFfixtm6E8Gp1KBJ4LJfe7u\n\t6UYUp04ny2u5b2o1+l53HJ+ANOAFZeAg9QXgMv2ilBDrPNn6h9O1Mf7Q==","From":"a.a.kikin@gmail.com","To":"swupdate@googlegroups.com","Cc":"Anton Kikin <a.kikin@tano-systems.com>","Subject":"[swupdate] [PATCH] ipc: Fix args order for\n swupdate_set_version_range_type()\n call","Date":"Wed, 15 Apr 2026 12:42:31 +0300","Message-Id":"<20260415094231.942-1-a.a.kikin@gmail.com>","X-Mailer":"git-send-email 2.34.1.windows.1","MIME-Version":"1.0","X-Original-Sender":"a.a.kikin@gmail.com","X-Original-Authentication-Results":"gmr-mx.google.com;       dkim=pass\n header.i=@gmail.com header.s=20251104 header.b=FP+ja9BL;       spf=pass\n (google.com: domain of a.a.kikin@gmail.com designates 2a00:1450:4864:20::129\n as permitted sender) smtp.mailfrom=a.a.kikin@gmail.com;       dmarc=pass\n (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;\n       dara=pass header.i=@googlegroups.com","Content-Type":"text/plain; charset=\"UTF-8\"","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n 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>,\n <mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n <mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n <mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"\n <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n <https://groups.google.com/group/swupdate/subscribe>"},"content":"From: Anton Kikin <a.kikin@tano-systems.com>\n\nWhen calling the swupdate_set_version_range_type() function, the update\ntype must be passed in the first argument, not the last.\n\nSigned-off-by: Anton Kikin <a.kikin@tano-systems.com>\n---\n ipc/network_ipc-if.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)","diff":"diff --git a/ipc/network_ipc-if.c b/ipc/network_ipc-if.c\nindex 5cc3550c..7c209ad4 100644\n--- a/ipc/network_ipc-if.c\n+++ b/ipc/network_ipc-if.c\n@@ -399,10 +399,10 @@ int swupdate_set_version_range(const char *minversion,\n \t\t\t\tconst char *currentversion)\n \n {\n-\treturn swupdate_set_version_range_type(minversion,\n+\treturn swupdate_set_version_range_type(NULL,\n+\t\t\t\t\t\t      minversion,\n \t\t\t\t\t\t      maxversion,\n-\t\t\t\t\t\t      currentversion,\n-\t\t\t\t\t\t      NULL);\n+\t\t\t\t\t\t      currentversion);\n }\n \n int swupdate_dwl_url (const char *artifact_name, const char *url)\n","prefixes":[]}