From patchwork Sun Nov 21 10:38:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1557715 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=qorVwwMy; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::339; helo=mail-wm1-x339.google.com; envelope-from=swupdate+bncbcxploxj6ikrbxwd5cgamgqeoxowxmi@googlegroups.com; receiver=) Received: from mail-wm1-x339.google.com (mail-wm1-x339.google.com [IPv6:2a00:1450:4864:20::339]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Hxn2n65Nxz9t1Q for ; Sun, 21 Nov 2021 21:39:29 +1100 (AEDT) Received: by mail-wm1-x339.google.com with SMTP id 138-20020a1c0090000000b00338bb803204sf5000047wma.1 for ; Sun, 21 Nov 2021 02:39:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1637491166; cv=pass; d=google.com; s=arc-20160816; b=Fzsy9pPeE/CWcY5NWpf42ZotMtEFscycTKWT+L0ZL1QekbLvg/xbu2tTDz//cDDX1U GaTsYvYoKSB63IbvuJ0WlX6oLNh/VLFvuGS6ArDH4aBqFemZ0zrDrQX7GYcw6JkSoz7p +VRr6CZOZVu/M1qd7pBbfNueeflGs6r47+zsNcB5HmZ6JHgaMEUMQUOCkmV1Q1R0OSXE zh+8cHu8nT1RPQ4XIdEq0UxVNrM95gOw14KPhsEfwcZq8QmYzGKmXH//4l3k7pg3HPoZ r6SOV0AoEewXeF76LQjL0pNT+QqwS571pV1W9imsPiWjtr15IIcXNpyhMtpzblJ10giu Ri0g== 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:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=MxSGF/bhzFkRS3x+43UsEOyjDyBdRJk8SY3R1WjPlm4=; b=m06uQLuBAyTK34XvPvAvx74DNrESJfae7dGCR1XAicCTvpDN1ZnkCPvNMnsFici8aJ 7tm0UtoMzst7YOso63oM87GDcMkklXldQX9Ex6+9vmwrtqJ2O3RGu/xvnd0m7mLHUIg/ VivfGRAHk7K2Zir/nHvQ6Gr0FTKdM7IN1Joj88uu/nEptqgsOJYMzf8qXJbukAwhDvPh ubovleiVDKQ+mhP2DABaTt7nMXwv8Fg6LnlcinirasFw+3021KPyU6biT5gFhb6Ubgo6 53byBhaysUNk1LMRttQwknmn4cKyRtGn4sw+hMBVuOw/q2i8FyFLXhbyuSWtOw8FY6hh B4xg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=MxSGF/bhzFkRS3x+43UsEOyjDyBdRJk8SY3R1WjPlm4=; b=qorVwwMy6AZUh+l8tEb2meWmOzKASbWORQor//gA2MPnIpeRgNjFi6QWmDCV2V5Day 8Rnrps7zwMHpH+RYGzRUCfE8oEYJW5QAgNrk+8okl+3y61oSqW8GGMU1t3J2z8tlM1a3 2T4eBOBTbDjX9CtAxmlaRPNYyCRguOiN9Mpetczm7NFq9JwPf8I119/hUr1jrqn2XYl2 uM7atTt2+aprxJOrl/Uf7ZwkF8r5mNwkVkvSUMRsyXB0pixxRLnxgaOqnObDziWg2wWt 1sfsc2DI9isyIKzwAOCNN29FVg/NvKuPLFyC6mHu8XRCk6rBslP7ItXZmaG6DrkwGeEs 4rHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=MxSGF/bhzFkRS3x+43UsEOyjDyBdRJk8SY3R1WjPlm4=; b=RMTEAhzGzPSt1F2E3nzto7T3cPkV5MlhPCns9O+QE2OV99MbF5IbYFq6975JgMIC9G CPDkrs3LQd48tgw6WvMFvw2clzCvbGzhuDFaYiRMfbXtqAWnOYH177ZlBgQizUgKMyOH qN55KqXGMlBcjD6Aw0jMnaJ6qSqHNHk6mwTLkQGKTnSrssgKzdMNj+5/Rc0gK1zlH0Sw iEc4Q1GM11YmF5+qvfikhp+Tq6RSs9qbkPLyJIm97sXdixQhylxvHuC69+qVsS2X0JGi OnTypFyiUAGmX74ZIYpLS1FZPEoDukRo8OsYkGcYH1T4pe5nlHQlV4fuKI9ti93I+BI2 4Ymg== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM533BHEfNKfoT+bQkxhpLrWx3+brrYwI0y95GAnGbsWPpMP+W7yv9 UvJspPb4isosoCV3QjZyGfM= X-Google-Smtp-Source: ABdhPJzWzajLViIw+2kcVxnIFnoP225UzGD4412FnbJ7e8hE2zWSr5m9HnfE55LC57539P0Rov9nCQ== X-Received: by 2002:a5d:58c5:: with SMTP id o5mr26834990wrf.15.1637491166523; Sun, 21 Nov 2021 02:39:26 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a1c:80c3:: with SMTP id b186ls2251652wmd.2.gmail; Sun, 21 Nov 2021 02:39:25 -0800 (PST) X-Received: by 2002:a05:600c:c1:: with SMTP id u1mr18114771wmm.163.1637491165878; Sun, 21 Nov 2021 02:39:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637491165; cv=none; d=google.com; s=arc-20160816; b=S4N2XAIJrOkTk9Tf51RukiTiW4vtetZ4FRGM8npiiX7jxfuZ5sTxh+W+hCECbU46xK 91Q1mP84lM5rxhgDnqc1JEuw0F1nj0eZZr2qf61tXAy6f2pIappYI9LeM3V+QDJx95a1 948Xw23zQ4NBX0OIGR9dwGcFQr+t3RyTSEYyr5RJ7XoWSQ4D4h7oikapRqf/+a9+qIWl cmMW0z6z2GQrHFiEg7GN21JSnG2+DtgB2jIWmKrCdxTFe0U2UshgAQrs8/ToHyRjpR9V RnApuHFYR61Z68DuheC6iU5lUHHSLt2rixgjanDKy690bdP7KnETTcCzq9wGuNsqE5/V kZUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=YrG4i9z3uWTGbbd4Ka/hx99YpJLUIRsWKwajnLaCeOk=; b=cBXiPt5Ewk5lYg6hCxDriAAzZ/p66zd9fqmBdeL4YM/RunTfm4sizapAYBRGO4ml9s uZSNSzZXaOn6w/iTgAvr53o6bfQzQn9yW8Gny2W5SxpPWbw10tp7F7MkHv/HQmUNF8u3 9RuU416TmolmOrEHwPwmr2IbzxVK3TBD2ysAne/LWTRm5DC5PXe9PEP9n7odfi6h9OlT 9y1LgqMn3B6twknIRVLTRdxfjjtExXpCmaoZL0JadXrxrXtNRjqERDNAoFRy9elD9g2Z EAsf+7X/MY4rfzBisF2QSaCeR5pNaIfdIITTbjoCwy6nWKCLh8WLddL4OPprrsgJnIig Gwnw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id j14si388848wrq.5.2021.11.21.02.39.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Nov 2021 02:39:25 -0800 (PST) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Hxn2j58Kjz1s8dv; Sun, 21 Nov 2021 11:39:25 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Hxn2j52Lvz1qqkB; Sun, 21 Nov 2021 11:39:25 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 7NA5hCVw_eKn; Sun, 21 Nov 2021 11:39:25 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sun, 21 Nov 2021 11:39:25 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id B9A1A4540B85; Sun, 21 Nov 2021 11:39:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 520o2I9t4zKR; Sun, 21 Nov 2021 11:39:21 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 2AC314542AB7; Sun, 21 Nov 2021 11:38:40 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH V3 27/37] tools: fix warning due to new SOURCE type Date: Sun, 21 Nov 2021 11:38:24 +0100 Message-Id: <20211121103834.922620-28-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211121103834.922620-1-sbabic@denx.de> References: <20211121103834.922620-1-sbabic@denx.de> MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de 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: , Signed-off-by: Stefano Babic --- tools/swupdate-ipc.c | 2 ++ tools/swupdate-progress.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/tools/swupdate-ipc.c b/tools/swupdate-ipc.c index de1e1e1..ba15151 100644 --- a/tools/swupdate-ipc.c +++ b/tools/swupdate-ipc.c @@ -526,6 +526,8 @@ static int sysrestart(cmd_t __attribute__((__unused__)) *cmd, int argc, char *a case SOURCE_LOCAL: fprintf(stdout, "LOCAL\n\n"); break; + default: + break; } } diff --git a/tools/swupdate-progress.c b/tools/swupdate-progress.c index 716c8fb..0bb3d1f 100644 --- a/tools/swupdate-progress.c +++ b/tools/swupdate-progress.c @@ -290,6 +290,9 @@ int main(int argc, char **argv) case SOURCE_DOWNLOADER: fprintf(stdout, "DOWNLOADER\n\n"); break; + case SOURCE_CHUNKS_DOWNLOADER: + fprintf(stdout, "CHUNKS DOWNLOADER\n\n"); + break; case SOURCE_LOCAL: fprintf(stdout, "LOCAL\n\n"); break;