From patchwork Mon Oct 11 11:21:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1539235 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=svs8dmxk; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::43f; helo=mail-wr1-x43f.google.com; envelope-from=swupdate+bncbcxploxj6ikrb354scfqmgqe6yl2dmq@googlegroups.com; receiver=) Received: from mail-wr1-x43f.google.com (mail-wr1-x43f.google.com [IPv6:2a00:1450:4864:20::43f]) (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 4HSbxH1qgRz9sPf for ; Mon, 11 Oct 2021 22:22:27 +1100 (AEDT) Received: by mail-wr1-x43f.google.com with SMTP id j19-20020adfb313000000b00160a9de13b3sf13033971wrd.8 for ; Mon, 11 Oct 2021 04:22:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633951343; cv=pass; d=google.com; s=arc-20160816; b=W3/9qkgp1PXo9M0JrukxIUFaxxqxee5FLYgUNtQ250O5OdSXAvTTmAdTk07Fk2jSdO BztKcjq2tC4vcuxm0KAJPmKLWpQzZc2dEAp/sOntlHyeJKJsxH7kS47uFrZ96Ndf1Bhq qM6+sQNsJ2hVwdGx+3FbPzLXK2ojmSUoxEe6fp5iMcdQVQD8Ky7ra6UhYyE8v/WKlMlK bo+KaQyFKDWCHoEshHjOkd4SCWTIACyoC9GMFCIOjxmdUOBGPvhG1C3vx4YOBStQa7G+ dAnbCYje/0Cw+RdYL4eVWH6lfDQZw9S00iZUpdRXO1WxVbaa2WiRqoEeExwJxjNvzJxb jdcg== 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=AZ+4xV8DMbBUtglPXWnqBaoohfxxqaREsVumoR43Wv0=; b=T6vmZFUdQHu0XSNIsMPrS5dK3XC/mERpr0EbX6FNhhCNIUQaO2xBj44SFPbL14KZDN BpSwKLSNya9tqZgNs0vtwSvVVwhuOVT+ufiNIoDb4RvHaZtWqJFGkpGHzGUdeYA6gFp1 O5qj+EeZbUGzxJ7pbl81GIWxRZktFlcDRyJVc4exRH5cu83q3TI/UXGHPzdD4S8iaGXO 9s2Wrs7y+oWuLNdiDqJGHVgpNE/fUyLOAEFrTJjxwjkdaYzl/rfG8SZnLyawNZRTsPzj FqzhakuWvcyKQOlFJDsDYdcN7IhxYMak1kJhhrgfeOrESwnaVu0/ervrm+/9U4Vw2qJP H01w== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 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=AZ+4xV8DMbBUtglPXWnqBaoohfxxqaREsVumoR43Wv0=; b=svs8dmxkt0s/M15Z+YevCzTmY5JH+Bxlrm5WxYnpI+cglzImRKisUcbQcwQM3L/6jb Jym8jKkNO7ZPfwZ5QqDrRkSoJl5BVUI1fPpw0r9XSVrBF27rvb/iLPgmDprDbGrP6fMN f1oPugCHbtOq4g4kx/1UmdrYRD1ULqVWEWQUGoahqTPQJEoUxdbuYDYuw5yQ37TeE5kE kWW2aQZo3pNM1zgR/r1GKipGixoBY1c6x+mjgW39kKeuXw01tgKhoaoBzzjMnbR8srVT 6ZCXytYI3BG1Nkb/RP47QA2el/ufD8K1kz+DytwDFNWsr9nF5hC2HUf0DMzbtP/Eio6y Wh+Q== 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=AZ+4xV8DMbBUtglPXWnqBaoohfxxqaREsVumoR43Wv0=; b=eewaBtV+LMQkimVCMcNLq2U24C2ydn/BD67H1U+9lFtI3vGwh9WjA0aRQwH7lTg0f5 4WY778QSdd6p2oItkCYDnPYhuRIxg3xYWybiXUmakLUTfnE6UYK4J1UmF9UWJiKSBhNF Pcg7/BwofwQhfd0Y0CLFbR4S6MKjcBqj2nEwofAhSVT+3i7Qvevy5imCWVMV/WZiAEW9 QQRE51vApXTqRXRw4smXKvT+Ui6l+2TUzkYVROYyDPs1UHFvLINpxL0102Z6HwqMMmPC TFV5pz9hfacHVyR980NTCaneijhEm9HrtmzmGEnWVWu1QGc+LsTjoUwGlmfDQisB8PQF 99Qw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531zmDXG47Y1WJfNXc3MhN5vmuA15V/LkEjI3A4CWJcIrepqFHVa KQnurszRl+ga1gGbcdiyYsI= X-Google-Smtp-Source: ABdhPJwrX5GGFh2JvcsBqMeqVm6xVIdLZrnl7JOzRCeuWxDe3PevMunscWZirKhbURMP2wMpQxVUnw== X-Received: by 2002:a05:600c:4fd4:: with SMTP id o20mr19371676wmq.175.1633951343315; Mon, 11 Oct 2021 04:22:23 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:adf:a285:: with SMTP id s5ls578905wra.1.gmail; Mon, 11 Oct 2021 04:22:22 -0700 (PDT) X-Received: by 2002:adf:bc48:: with SMTP id a8mr24390930wrh.397.1633951342640; Mon, 11 Oct 2021 04:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633951342; cv=none; d=google.com; s=arc-20160816; b=eYADx0RvoWgL/CzhgZHZv7RJIka5NEt8y/kLh/cB0Kuq1vv4p8VGAPbjbnYsUV4WPm WD9W5likbfHOWtFawQDcCWjtoHeeB/7xBc68JPzacTYT+oW4hc0nNQfxTDEOMpkPsyaA EBpiZyrRm4qgrp6cbHpJ3b7gZap9N2xPjKsg/2ts947CXakiU79A4ElQaN0em/W1tECT 61o/7YcTYkRqEzbrspfg8wCy/HyNVm34I1jGAfJaC0+ttp3WhkFTXEaVY/N04CoLKkhQ Yu3m2+PTG4+Ukn9DDq54C4r/lAyXVBpOgTHs8QSJZQeO12Q4R+8cxPAk6vR02Xs+LYqs Gjdw== 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=fcfS+xvUdIr+bHEKCKwNxqFD8rYw+cypirNBvgbY66A=; b=PNTaVWiwM3jcyzHS3Ytnb+YPscakfVusSNe7QoVW24nsl6o96e5J6bag3iB0Jxhktq DsbS188WUAP7ycalaZeZGgjTBcrSSqWsBU+lDuDVNM6/NidWZayk+v0D81ZyUuMCJ46l vHwySa+zC3luWXQdUbJSFNyyNckXxXNCjQmS/Wud7WDrTUSrWuO39TlLIa+DsWl7yFg6 BI6EodyblQVW4DbizqnTwPwR9Im7qwJ2RF2U/KS/pGi+E2D6DbCwbMHLbk2cxRMSoUTV V16/jNfivArxrtnzJakL4IsbpaV+7hOdTxlYgNf4a7QsxWQY1s282QnWnQiLlgvWYDgt JGlQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 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. [212.18.0.10]) by gmr-mx.google.com with ESMTPS id l3si520932wml.2.2021.10.11.04.22.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Oct 2021 04:22:22 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=212.18.0.10; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HSbxB3Mc7z1sByw; Mon, 11 Oct 2021 13:22:22 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HSbxB2xYNz1qqkC; Mon, 11 Oct 2021 13:22:22 +0200 (CEST) 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 OlBifjUQR0wZ; Mon, 11 Oct 2021 13:22:21 +0200 (CEST) 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; Mon, 11 Oct 2021 13:22:21 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 507F94541344; Mon, 11 Oct 2021 13:22:21 +0200 (CEST) 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 SK4NTv0Dl15r; Mon, 11 Oct 2021 13:22:17 +0200 (CEST) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 194AF4541AE9; Mon, 11 Oct 2021 13:22:05 +0200 (CEST) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH 10/29] channel_curl: fix wrong usage of pointer in assert Date: Mon, 11 Oct 2021 13:21:37 +0200 Message-Id: <20211011112156.44192-11-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211011112156.44192-1-sbabic@denx.de> References: <20211011112156.44192-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: 212.18.0.10 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 --- corelib/channel_curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corelib/channel_curl.c b/corelib/channel_curl.c index 62009de..5c88ef7 100644 --- a/corelib/channel_curl.c +++ b/corelib/channel_curl.c @@ -1312,7 +1312,7 @@ channel_op_res_t channel_get(channel_t *this, void *data) { channel_curl_t *channel_curl = this->priv; assert(data != NULL); - assert(channel_curl.handle != NULL); + assert(channel_curl->handle != NULL); channel_op_res_t result = CHANNEL_OK; channel_data_t *channel_data = (channel_data_t *)data;