Message ID | 20231127125726.3735-20-maxim.uvarov@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6706:0:b0:32d:baff:b0ca with SMTP id o6csp3135575wru; Mon, 27 Nov 2023 05:04:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIxCYXSFSZY02CyfKvK4gKi2apFUr1DHXLXAGswrM/0CYptRodZ7KBQVNx5U/h4HOEdMPw X-Received: by 2002:a5d:45c1:0:b0:332:f8d2:640a with SMTP id b1-20020a5d45c1000000b00332f8d2640amr4333917wrs.37.1701090296442; Mon, 27 Nov 2023 05:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701090296; cv=none; d=google.com; s=arc-20160816; b=SJjeCvh4Lr6YffEyRGFpvmKNxft22ufNKKFLKFhfP2QGgvpHxWlavLUyQbiJlc7HM6 HfyBGUVLs3fI4ryxWPuTwZ5haWUxKR/6+f7XoTiztOT/dDbVb1HBbE2ZsSDoqKRj1iuW 8cyOHr/EcsrP8zTwoL3cmUileeLiHBwgfKhYR2rcxJrOWDzAvHIbxVEUMrE+zpaJ/hSE ewwaDtxrHwmr9Lz/U+D9G7FJyib5Av/fE5MVpEm/Sr1jJCkV+7abLEeoDykK1Euvo2rH v+D3lrljzrW0DXyfx5uKwAphg8LM+DWsxrpAmCAkltQyyUOJgke1fyyYMS24xaUv0vQ/ myuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=jFl5q83Dz7tD9zISSdke30i9kRO2ANQbPUYPT5Iezkk=; fh=QyNHqymfSLfpkarWtc7IKVRHBXLRqHmsXw8S5qDkAYI=; b=YFIQ7az071MOhwbjhDv9TFTWdQ6mKr2XL3TyKPf0LYjLtiQCAG9HVUnHSSehVSbosF EX3xj7Gyv+MWRRhf3m/b+nAg8VXyNAO8Sl0y1nooCkeN55JhZxl/3741f0QFAT04TFxA 3YvUK4v/YdOAP3N4PCs0dOzNegXkWs2gXSXkl15vUlagTE/OO3rCTXqJX7KhSNgdR7WI /Qay2s6BQXeFgeo4syIL+mI/N4AB/axAs9KeTk6CVtJf4UZqpj1+wRUBpVz+fmNOFSr6 cjF1BhgkxMn04rQmUtSj1uQYjZEwunXIDlxnMRG2ehCA6hntEuIP9hlCaa/tGw2NoQl4 QXIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iXVAjwOj; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id k14-20020a5d628e000000b0032cb26f815dsi5478673wru.301.2023.11.27.05.04.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 05:04:56 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iXVAjwOj; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4340A876C9; Mon, 27 Nov 2023 14:00:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="iXVAjwOj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6FE5C876C5; Mon, 27 Nov 2023 14:00:56 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8208887634 for <u-boot@lists.denx.de>; Mon, 27 Nov 2023 14:00:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5094cb3a036so5639393e87.2 for <u-boot@lists.denx.de>; Mon, 27 Nov 2023 05:00:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701090053; x=1701694853; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jFl5q83Dz7tD9zISSdke30i9kRO2ANQbPUYPT5Iezkk=; b=iXVAjwOjVcECfGkD47OMTwK+ywbfyioKS7QEgBxoOfGmzXGWl0l4u06iCmsGvSqNxk NkBoMaDJGQNk2fzT6PE36c0+Xpe/hMmQWsty8kFeS2ErEJG72uyW9fsRNYrSo9eH4wXp TFYOnZ6SPQ5nv9OhFO0YQT7/lFzbekHF34KaOsquJseb9DPwgNnql4L39IVa11csmIBz oQvP/G/ep9Y+A1EgXzpJl2pf/oAtlMIjJGNKpwqOnynbPJ/bAyXSFphlbZy3Sa+e+CLj vl6KseqqrFVff9COa0V4y8laTaugD/sMdx29u0GRAMlutxBYpKFyoy1gOBb5xCheZy/j R/rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701090053; x=1701694853; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jFl5q83Dz7tD9zISSdke30i9kRO2ANQbPUYPT5Iezkk=; b=P+SytdAwl9trw9kH8TTLZAHFe+9iEOpD/J6GDWk2QH0ZGdkfkMwjjAeAFN3Hrtzgpm NdjAdX541ZunD2wunBuHZJ2YJmp56VPKOr2UI4E0sxMcI8NNrJwzfHrXNuSPN0E2uahD nkSEBq4ordKcraiKaLCBVEogBeqSOq395Yl/CmI2oYrykOndlquGgK455K1pq/elVk7R ASIPXIr1pbLFDgt7dZGr94gYGMNBuXNR1UMXqpvUAlzdK7id2OqBL85yQ1hp1kkNiUWN ShkD8QLnM2NnnLH9HCl70mVKmagsYdHge8xhNE6M7r0R2PGZx12+q90TpE7qI6IDJ+vq 61ug== X-Gm-Message-State: AOJu0YwCnJq3E/EWENSFQWwoB8WPyg+WoZmcGct+RJ0UoKtkuSnHlYfm V48eBilw0KWm+STuWoM3kwlpE1rBrc3X8LVIDKNmAg== X-Received: by 2002:a19:f505:0:b0:507:9a49:3f23 with SMTP id j5-20020a19f505000000b005079a493f23mr7289889lfb.18.1701090053330; Mon, 27 Nov 2023 05:00:53 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id f16-20020a19ae10000000b005092b887ba2sm1482489lfc.201.2023.11.27.05.00.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 05:00:52 -0800 (PST) From: Maxim Uvarov <maxim.uvarov@linaro.org> To: u-boot@lists.denx.de Cc: pbrobinson@gmail.com, ilias.apalodimas@linaro.org, trini@konsulko.com, goldsimon@gmx.de, Maxim Uvarov <maxim.uvarov@linaro.org> Subject: [PATHv11 19/43] sandbox: eth-raw-os: successful return code is 0 Date: Mon, 27 Nov 2023 18:57:02 +0600 Message-Id: <20231127125726.3735-20-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231127125726.3735-1-maxim.uvarov@linaro.org> References: <20231127125726.3735-1-maxim.uvarov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
net/lwip: add lwip library for the network stack
|
expand
|
On Mon, 27 Nov 2023 at 06:05, Maxim Uvarov <maxim.uvarov@linaro.org> wrote: > > all network drivers return 0 on the successful > transmission. > > Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> > --- > arch/sandbox/cpu/eth-raw-os.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/arch/sandbox/cpu/eth-raw-os.c b/arch/sandbox/cpu/eth-raw-os.c index e59b96be5f..92c35aed95 100644 --- a/arch/sandbox/cpu/eth-raw-os.c +++ b/arch/sandbox/cpu/eth-raw-os.c @@ -256,7 +256,7 @@ int sandbox_eth_raw_os_send(void *packet, int length, strerror(errno)); return -errno; } - return retval; + return 0; } int sandbox_eth_raw_os_recv(void *packet, int *length,
all network drivers return 0 on the successful transmission. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- arch/sandbox/cpu/eth-raw-os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)