Message ID | 20240425115148.67894-2-michael.adler@siemens.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCLP7I7WWMHRB4EHVGYQMGQEZKIUQ5I@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=csJnUzv4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::c38; helo=mail-oo1-xc38.google.com; envelope-from=swupdate+bncbclp7i7wwmhrb4ehvgyqmgqezkiuq5i@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-oo1-xc38.google.com (mail-oo1-xc38.google.com [IPv6:2607:f8b0:4864:20::c38]) (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 4VQDjy1qgXz23sX for <incoming@patchwork.ozlabs.org>; Thu, 25 Apr 2024 21:52:20 +1000 (AEST) Received: by mail-oo1-xc38.google.com with SMTP id 006d021491bc7-5aa319be326sf1951016eaf.2 for <incoming@patchwork.ozlabs.org>; Thu, 25 Apr 2024 04:52:20 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1714045937; cv=pass; d=google.com; s=arc-20160816; b=Fd5P74JbmHFE2ds06NM1yy44S6e7/ax7bUtU9FKrxFrBkvRwDb5Fu4BoRnp0eIgeIG NpgKWDn7tKJs6xJyGDrvAWuu6bxvlvlxyqifvlWigtSJ3449iXpYNlmVFvvJ16slfBRd yEouHjkTce2F9JDdILjEe8psxY/uPMfE5Fi0nkQ0aIXQDsFT7kc79If19hv6g3z1fybp H1VMSvBLobjoASK/EoSabJ6o2BOXJGvsWd7srx11rYKrt1F0TAeBUwj13Wk6cbvMJS2f 79ehIE+asbvEDFfMJcXwiVMGuhJxcS2dcedB6nVLpm0QgTAYk6QOh7KbE3qrOCrIyWJO xA5g== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=HDzIxYa9++BOt4W70c/MlqvDdK7+TxU6UJuP5eiz9EU=; fh=i05FcIfSiXo9/2XGTg170D9VFgef32PWdxefKQ0Umds=; b=Sjt/5zq+HXUntaw2GEq+yacQcHM9SE4pf4On+FtsHPmm06CDahFiFz4a5MxQ8LXDZ8 /VHQupFBSJvB08lLKKaOC566Q205q/GRUWWbIjXq9Vo3u6nbYt0Xyz52M/MJhX+6xYHE 3X9bnMFC+dtDfm6yt5rvGtI4jpi+DAtsfb37Hv7emgO2VBdJHLeNlrrjuzt7ZTA9Yi8A R9JowElFERqS8B1jft/dwmt3RptZgdbNK/nWdk1RURQ5yMZFq7CHXjLoO3tmAGWv4J4I 7aaLTANL9FKDnBiQi+xfUeAmedeB9at/liYZxNxd64XuVqk4m9Xd4Y3PZCEGMm4v7d+E OHIA==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=OU19rNKe; 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 michael.adler@siemens.com designates 2a01:111:f400:7e1a::60f as permitted sender) smtp.mailfrom=michael.adler@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=1714045937; x=1714650737; 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 :references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=HDzIxYa9++BOt4W70c/MlqvDdK7+TxU6UJuP5eiz9EU=; b=csJnUzv4HsO1fPIoubY0YZreh/w7F3HKmJIn4RZ7uJpXxxJ/cHBpeC/oZNs9KpbNO3 HVxf7bGsHc/MwPJCTkVcw/9pwg1UmQXXvJcOdaYL5E1nMtac7Ev8/xEk8wKMHqLsVSSX 5g9DWntVA27Jiv8+mKAGkHGuGbEiK2G3GZWSPUruY+Fo+J9ul7+YYatOHDaKLYRlaTGD vL0h3QcYY/psob8z+RHFmuOmSep5RhyIFNpfPDmyu5iIDv5i6Tyt5C3VoqnBmIwyT2M4 MjRQjqgjOvdyQxrvWJ7hudHcRtuqWdllaRHWhzx+ve2V8ynqbleGUdktDBiM7LtYMg0N U7pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714045937; x=1714650737; 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 :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HDzIxYa9++BOt4W70c/MlqvDdK7+TxU6UJuP5eiz9EU=; b=mLjUaA3l0nFHy1UDYnkFsyjvdeKe07Wt4Cm/aKOhNEOpXmYOw6SSgsddGohXcQZf1K 9UcCl0qTUQvOYxZ5TS8hDlF1r/Ry3xRJS9AIl1dHhXQOsX7FIaTA63P0x7p6bO+4GBe+ 9RVViTMJ/uVRMKgxBzW3gj2614fcXeUzy6RNDzmYgKG14qae69GwDoM5DlGRa9xUVsqv PfkWbRrr3rSax7I1T3jtmudBBmDmFf7Ut90pZ1WPAybcdQCQ9A3Htf6Zp7CFWULRthQH 1+qFYNmxA0XDp0xZTRVR2IuesfIkdZM7Wz4YOabrGOFNHo29rLisA5S4u8sTKQOT3ZOJ 7TSg== X-Forwarded-Encrypted: i=3; AJvYcCXXlAyqTTBifFc9V0EYwjvfQuXYll7iblS5B4Vl9brzNXkeo55hB6wEcVmzJ1ETz4omzuHLpxVQKKSxm2/7lMdCYDLnZhpcIqSps7GN2w== X-Gm-Message-State: AOJu0YxPBNOyc8KqjwSXRcXDNSaAW6+TnmeJGQg7VSa7rloT6M5LtjGv LIyxxzis08HtE4Dmxk+4SEh6cMa7ulbcg4tiGuaFGpsYRhwYxFdV X-Google-Smtp-Source: AGHT+IEstXGCf4uXqqZO9baCfmAlsPhjCUkDM8zeeuziURBiwQEwTNBx0kPuLkU66vabjCP65/aBmg== X-Received: by 2002:a05:6359:1988:b0:186:7ed:3ad6 with SMTP id mh8-20020a056359198800b0018607ed3ad6mr5237514rwb.5.1714045937198; Thu, 25 Apr 2024 04:52:17 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:622a:2291:b0:437:c28c:f580 with SMTP id d75a77b69052e-43a3b117ba2ls2323311cf.1.-pod-prod-03-us; Thu, 25 Apr 2024 04:52:16 -0700 (PDT) X-Received: by 2002:a05:620a:307:b0:790:8844:1171 with SMTP id s7-20020a05620a030700b0079088441171mr5960061qkm.75.1714045936008; Thu, 25 Apr 2024 04:52:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714045935; cv=pass; d=google.com; s=arc-20160816; b=SmPDEYANs3E9lvDWi9+/JX4qmhgrcKEDITUgRB604EfK9sEkidZ0odpKjKMTHmZLeL 4PwjI2FkNV/94Qq3H8GL/PS/BSwX0kZMDIaj23czFwHrgK91mhir9Nl8Gdrv/qWlof1l iugtoUYgOxLe7RszMQ177O295kkG1hylVSGojShvIzFJgOvoLnUJPy/SG20KJRwPYKJ4 mBbbLwiYr6/LCb2TLWQ9wRBzOIKEz/Kg8bNjVNAo8xc1muoQsffXp/cErZakFORbhtjs lHHuD4Mr1HY0AXtrjPhXFoEYyu5aaLBdHU3sd0s+5exSYszxCBiYSIaHvK66KjmNfF/V ZH0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=B9HLEtfRKBKPxuIztm1KDdYjb/nv+BowS5j/n8bDF1Y=; fh=pJ2QQAjkJ3PWvKTF55tgLj/Eq5DHqWw4uU+orlV1UBs=; b=AToH2mzSNZeKVIZigfg89tZpvFhxOv3ztz+f+WcwmSBByIR9qpAhHOGL8k8bdg9gkP cfbfquXrGpqUdNkx3qvpT6R+eMGomCJxTQSZdlapiCxm/IkbB3qm15vW2/gz9UV9F6Z2 DFNRmqer4ka8ynXX195wOHgUBjijghRXlW3tbsI9FWpPICz5it9ynG4Y7bOgDviFmS+m PIHC3/73DgrTk1GISFBt+xGFfySxxso+OZT++Qko4lrVsVRZbFkzBKpzZ2wQWU39dAuM 8AvmM5d0yp6gcYof/d7YDRbRi0QDqZddLzhi5570aJdz0+mobgLRAjP+RushkSM4Pu3o ThdA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=OU19rNKe; 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 michael.adler@siemens.com designates 2a01:111:f400:7e1a::60f as permitted sender) smtp.mailfrom=michael.adler@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2060f.outbound.protection.outlook.com. [2a01:111:f400:7e1a::60f]) by gmr-mx.google.com with ESMTPS id i6-20020a37c206000000b00790724986a6si658564qkm.1.2024.04.25.04.52.15 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2024 04:52:15 -0700 (PDT) Received-SPF: pass (google.com: domain of michael.adler@siemens.com designates 2a01:111:f400:7e1a::60f as permitted sender) client-ip=2a01:111:f400:7e1a::60f; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=np5ytW+9Nva5kYGpN1JD4De9GUQNVSPOWdNywxGgDjdYmRUZxyePazrGUxZqzCWqwtuvnF4cmpDLvtk3xKyUZl+rP4o4PRW6rEh+i/ikwdiwZFS5YDMnMt1OTMSjf/E0MOVhjFRDeiKZL7UWs2AQCc5ii63ghNs12buwRYt8xvUjq97kVtEjAatM4pDZ3TjeW2yt9LUQZXGGk37WadQDD0PrITKiDJHgc87tZyhiEnOl+mA24Rxcee46doUpwhA1cjv6kS/pw/xqtN7H0mopYu/+aItUcke/FaSJznTd4aOCGS9QETRYboDyD5gx6SlDxNvfxTIVRzwNsd3Sq5EaQQ== 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=B9HLEtfRKBKPxuIztm1KDdYjb/nv+BowS5j/n8bDF1Y=; b=kG3kDvLlknIZ2FXm1vDWIiB04EiXLUruFOY3RKzL+OWNf8ewUcXjjr30P8lU02UgbwL5ZpfSgbz69IDYM1Km1pOBU2TfmBP91ezdBExZ23Ci1XaUnVJiUhd0b8zNzdFb5su3HoGXDFdh43iUKRYvissV1kwhp4sdAGOVE0pa6w9U8/y4Xp0ky/WfTlJaM+nnAs9IqAWBf9V9lOacofAehfbaA3+t8SjzOxFrB9d5XNbmN+25Yj77R1pSnlG/n2dww3BYSG2zotVOvJ3GpleGBVuiunRzXsuXLv7cXDq/oMzOHJJ5TPF8gPBqbhoYwk9FJn2WgorqJCiOw01OVxW8RQ== 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 PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:12e::15) by GV2PR10MB6574.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:b5::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Thu, 25 Apr 2024 11:52:13 +0000 Received: from PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM ([fe80::aded:bda0:fdb7:eadf]) by PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM ([fe80::aded:bda0:fdb7:eadf%7]) with mapi id 15.20.7519.021; Thu, 25 Apr 2024 11:52:13 +0000 From: "'Michael Adler' via swupdate" <swupdate@googlegroups.com> To: swupdate@googlegroups.com Cc: Michael Adler <michael.adler@siemens.com>, Christian Storm <christian.storm@siemens.com> Subject: [swupdate] [PATCH 2/2] delta_handler: check return value of zck_end_chunk Date: Thu, 25 Apr 2024 13:51:48 +0200 Message-ID: <20240425115148.67894-2-michael.adler@siemens.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240425115148.67894-1-michael.adler@siemens.com> References: <20240425115148.67894-1-michael.adler@siemens.com> Content-Type: text/plain; charset="UTF-8" X-ClientProxiedBy: FR4P281CA0020.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:c9::18) To PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:12e::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR10MB4734:EE_|GV2PR10MB6574:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a7fef72-3e20-4bc1-66fb-08dc651e2552 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tUODfa645dbPi11ZZ1tHjRpyFxefnOpXtyjUxzfcloi5hsmUDRa7fP2RNDNCscZiTKaS2YAeA6WcKYPDsZZUiIyZD9oIkq7sn57dTtCUXPKqm0zPuxX3dy2ZbOr4oftxeCYbJRNr273dd9FGN4Z+SXhi2zo35fTm8OXcqnMvQmrqpzcgT/EIZl5erEwnm140Swhn0CdyoNkc7XpphRCtP2QPLx+Qf0sVhaI2TATuizebTHgqrCO4Z0R0Xn+7neQdZ260jFkK6C0v2oJhFxpdqbQPyUtNLaGOFsyTmVzv9hz9hIBn1gIpIfYKNQdJaLvk1s5/09ZTR1OMTMvGM49O4OudwQq001CiizjW7rNXgbt5sO8/5yfmcWz1TYxrEUbmywNuHPggTOCOSGKHbuDrlLJuufPkkB51Joavdcw+NN3gVeSgCyOUgQRfF+5IlI4YXHLpvIAyqbShXePLOSoT9NVT6nSRFtsZPl3d5YOYzA09pmGzfiTvzqC1CR7MFXXUt3mbY9Pp/Than6DIWIyJlBbw5vqzCKoiMTPeNkOA0Irjr1Fgjx69g8t5EPcDLWhSfl+M4xN/dJzcvTPGy60cwrILBxtlzS2ZgT3gdzMAHN2Tpt7/a8Ro74Hyg9cAkg2hDmBBUA0kMekr/fqzRl7xuxs9ax7a0wJlL+yyvlvwZUa+FQME+fn2j/OiITEQ7QXnRP2CBSMLQHuqXjywEZvpbTcOvRNfE404af3ZQq3yFrtapiS8NIU88bKIz/t3RjwqGkRPiWn24x5h51SARuUzXh+AxmUf4b4KCCe28eE/bEWC1HOlj7y5e1EeFjFWrL3bYlqXCR+TSdrqfcx/m6RTEmUoLPAzT5+HeES+up5Czr/0QH3feMEk34m73FkXuZj5h4G8nDkUw6pugmx1R3WavdCsm1TWmUo3/CFxLERnW7ZGg6NroSQAyDP4k0P6UctgunBKdc4oNHL5daCL4yv5ISmx/P+0Bp0slMxy8wERnPqnT+gCYLFTGc/6L0vliZ5krMb2rcwt5ALZjNo/gEm0OlwOVRdMoOYsJk7W8P3clQtPRYzWxzr4KnFeGLmkGC46C1purRToTgxekKVbyjf6/Rc5mqSWx2xSGtYwtwHKgpIiiH254FzT62JQN5DJPYIkZf9h6GDNwkroDR0ecvC3fZ6vIAF0GC2uqoqhU1NaBUDAeidfB5B7PRcdU3Jo1TOyMGKfUgDCdzE/GV1EnCqk5R8J1dCg0WebZDwYuLJRbraG323l435dnO6s+e0wlB+xDG5J+pNBXYhp2cmrvncGMg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(366007)(1800799015)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qjOLrZzg2zp9pxcc8Rh/uEOJznoAhiy6gK9GJoWKXxLWQzSc0UJkqmoWisegK8G6+T4oXh7sUyzesqV4gYt7f+fC5l9zArYV03gR60mdXFXYJT0aLyKQbFHHQlnLrJjyUWVaNOYt8KKqKunUNhIgogxoBN8p7CeZRxzO5bZcTm8UUsAL4EEOdYZNECDjRCjQ6fcAYSwPnuKdsH3L6d+YmoAjwuXmMBIfHG7YgfbzqENNiFYzXFeDC8m9lLuQibdTysSo0V2ebEG7JApo3klt4wtAO9681FRbuYMfwImUu20PNxGUCsjyRA+j68bv13Odc7jSnC5Uo2XV0inpQjRkHA8+WSYAIxGKrFGhniCubuowI3rzWfHiG78R0IIsLCUCaOYHL8LFmMy1j1jN6EAUQMucU+pTHRX3jSy5rOKU9WOjzBnKv536ng/8eub5matRAcQ9AAcObTXBs13s5VrHLktlmzIWreEQrZH5G3pLCj33pWadnKX61mPmhbULCt7MxgyNyODLft/IB4+efNFm4InOg0Ji/AnkMo3V7rdqYohouu4KYxVboIs908n12nQRlGCHsZwSCm7atsdB1Oa8i5wdd82Wo3r97AzRoU3XOPr9Rw73Vi9AohgcYAL2OdjF4MAFQLuQOU/uLYIX3yrUzSuefAX+EdI9vOts3Re4WB6U6mKqcMTpoolELFfLYsSWvgbZ/VqgbB0roLBHQpOW7rDwR/UDJxDinkweudACCM65teRdDKPXVG1yNp78dc6b96IPhMb1VFXlK89HUSWVpF1rK8+SL7w+t8n8PjKmD/iYTP7TxNXrXoVQgfYUpU7hElQdcZGHBv5t39QhuQanP8KrjMDvHN6V44UgkTwijhYHzESVLMyzvZt72jUinrgCXTUciwyd+Uk6S3t0s9WoDGZhSmQ+myUGDI3nTd1s7r02dnGPWBxLBXJHElM3AagnFYJlBbq+Ul63JaoFQ037z1ujqolGQVA1AXywDtsO5s7xbaXm7CxVBl6nfj74jN97gQN98EEnvX2bLIHEuTWMSBRisP6F5uXpmbJ26WDxrAzS1J+FjP0IFaJILXWO9R80Ognw+dYlagDhQdS4p0Htg9a8do+Hs8kqeaaPsUUZLum1qYFc52JLnVo1iBQ5u28LU1aK2J3HmkzaaYJssLNEmkgl5lxs6vdDMlyMa/mtQdQmU0RbxbVquApnwROSVDX/phvckNvAMi0bHIDrxET8QIBdFNEIM23Mt3bbi2qQaY8JJ3UKYOYOJse4ZLAKEGcWyr5IE8gphCWrKA/t1mumzUAa+Rsgv2xQsdCGHovxC0K0tXL6AHjlU6jmYLbMPvMuWbhyM7a+/rmiosre9m/QySIHMKeTOUjABa5h1VvvTKJGe8AZXSTd/PxI3Zp1v86l+5pt40NXtvXU/cS2XPu5VwjcQ6fQFcTQW9TRcF8ucWty8wmNzZ9YeMKgEawlYxXpNRiez8VRoZn0fqj5PM2JOIDRcL8D9QDy9NcPF6ErEgxof1uQDRQlAwua7yXOIhzsCAEb87V0p5+X7YSEEa/tV5zodNXf3aQd2gWG7H/oOZka5VLULV31/LH4x7zG2hWqTBDUURO/ZQI2qJz65kWV/g== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a7fef72-3e20-4bc1-66fb-08dc651e2552 X-MS-Exchange-CrossTenant-AuthSource: PAXPR10MB4734.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 11:52:13.0128 (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: 1PYp73v+utHtCHRjRwzFtkb9/kYFvXKIS9olpR+E8FNjPobDdQxOqSjHrQAPOVnGIz7C+twn74nUhp5IP73K9aiSDR9sdfI/dF2itFJzqNE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR10MB6574 X-Original-Sender: Michael.Adler@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=OU19rNKe; 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 michael.adler@siemens.com designates 2a01:111:f400:7e1a::60f as permitted sender) smtp.mailfrom=michael.adler@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Michael Adler <michael.adler@siemens.com> Reply-To: Michael Adler <michael.adler@siemens.com> 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 |
[1/2] delta_handler: remove unused imports and braces
|
expand
|
Hi Michael, On 25.04.24 13:51, 'Michael Adler' via swupdate wrote: > Signed-off-by: Michael Adler <michael.adler@siemens.com> > Signed-off-by: Christian Storm <christian.storm@siemens.com> > --- > handlers/delta_handler.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/handlers/delta_handler.c b/handlers/delta_handler.c > index 7819630c..89160036 100644 > --- a/handlers/delta_handler.c > +++ b/handlers/delta_handler.c > @@ -507,7 +507,10 @@ static bool create_zckindex(zckCtx *zck, int fd, size_t maxbytes) > } > > free(buf); > - zck_end_chunk(zck); > + if (zck_end_chunk(zck) < 0) { > + ERROR("ZCK failed to create chunk boundary: %s", zck_get_error(zck)); > + return false; > + } > > if(n < 0) { > ERROR("Error occurred while reading data : %s", strerror(errno)); Acked-by: Stefano Babic <stefano.babic@swupdate.org> Thanks, I saw the warning and I promised myself to fix it, and then quick forgotten. I apply it soon. Best regards, Stefano
diff --git a/handlers/delta_handler.c b/handlers/delta_handler.c index 7819630c..89160036 100644 --- a/handlers/delta_handler.c +++ b/handlers/delta_handler.c @@ -507,7 +507,10 @@ static bool create_zckindex(zckCtx *zck, int fd, size_t maxbytes) } free(buf); - zck_end_chunk(zck); + if (zck_end_chunk(zck) < 0) { + ERROR("ZCK failed to create chunk boundary: %s", zck_get_error(zck)); + return false; + } if(n < 0) { ERROR("Error occurred while reading data : %s", strerror(errno));