Message ID | 20231204120446.3277-5-maxim.uvarov@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:9b9d:0:b0:333:3a04:f257 with SMTP id d29csp1087397wrc; Mon, 4 Dec 2023 04:08:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMbgHUzOCBn0ma9XY16p8bAbzCIqu/0u9Xzzpc3j1vryJgmBOj1ZIm1m/QGyFsqwDxquEp X-Received: by 2002:a05:6358:7201:b0:16e:33e:3a9c with SMTP id h1-20020a056358720100b0016e033e3a9cmr1969095rwa.6.1701691685045; Mon, 04 Dec 2023 04:08:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701691685; cv=none; d=google.com; s=arc-20160816; b=ua5Luw0Zw6WDouvLYe+1THSRAJk0/bhmqLfTWul5yistIE4fow5CkEcp/KPMnqkyPj /RrlcRq+huov0L+NoVtiGi6RkNfdqsCMJnF9Lbod43ADhlt08Mcs7m8GFL5XECljD3tg fyfN/k9EdQ69EFPtsSZKe3GnXSREXHe0pMJ0vxD4QTAxs1vgrrjh+/vVL+sUHVNuOZLw /HvArbS5pSrZbttpJlpPa8Vb9/Y+44Bs+/fWueg9kLvOJREFeSD47ZfL3cXQ+FWF9PcC BTk0t5dDGq3YiLHtNgkLhuL1c1NVfM9w9BoERP2OoXCS55UsG71t1sFKS8++MlLUABr8 1Uaw== 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=gahorcfoNv+yyzQwl9V0XMJNPRbMhyFuJjPHNmT7iCA=; fh=al8TO5kxNSCLdK6Wct4/S1Ky9QCKGaknFfrx/Rr/20U=; b=y+mAIaeb8r4X5Vm+ptU09oyJ0eAQljlhAnvXqbPOIbL7j2qyPbty/vk1NUExxEHIdj XIkXm3ehad07suQ/yl/QCi41TXmgAB6IM0BohrYtY2RxFE78GYCvBoLka/46/sccr1s3 Xh82inLEm/2cjj0VUwRdPzMiDQ0djYP6KRi1AHsTn/Gf1fYipU+VcvJy95JjIbqEEIDu PtzzMbBzLNc2jY9SrSq/bvOShwxUq1yLLlypZkh5BVbQsArRBk7yhy0PrUCET1xjXfTY flzBwkFRjHC21WERSD4U2L+QWQe4jJBDlwV8bbZTusJeQ1O38oB/xOalaIsOVc2lzMZ8 kI0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Na5UOZc5; 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 d22-20020a056a00199600b006be55174f3fsi7844963pfl.28.2023.12.04.04.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 04:08:05 -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=Na5UOZc5; 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 061818758F; Mon, 4 Dec 2023 13:07:19 +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="Na5UOZc5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3EB8C8754D; Mon, 4 Dec 2023 13:07:18 +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-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (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 590A68758F for <u-boot@lists.denx.de>; Mon, 4 Dec 2023 13:07:16 +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-x12d.google.com with SMTP id 2adb3069b0e04-50bf7bc38c0so952204e87.2 for <u-boot@lists.denx.de>; Mon, 04 Dec 2023 04:07:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701691635; x=1702296435; 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=gahorcfoNv+yyzQwl9V0XMJNPRbMhyFuJjPHNmT7iCA=; b=Na5UOZc5Q4ap2gwQrocmhAKB4jcFdBR/SzAEtsTav3+p4QIY8Y5sK0KA3drz4rKBBK 11WHjxsa4XCCunHj9b/1ay0c6faHmYGMaKXIeMgqH8upqwjnP5b8PZzdDMDE3Nh4myyp W3QzEE8bPJ+Io5lPhGGuy1L2eqxa9Tci9b91zuOLxiahrqQmwZHUhzz7RbA7u0URUkHU /7iLdCWhLxBV32BPPmGJl/8XqZiGfcbV0lpEB3PkNHEYo3zbpnaSmL0HXJ6+4c0UaKyr 108lOdlEr03StZ183cikwea0vNAbpqjsr5T1vzhJtZmAJwq2HRH7hgiovL1OZByhF9Qf RE9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701691635; x=1702296435; 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=gahorcfoNv+yyzQwl9V0XMJNPRbMhyFuJjPHNmT7iCA=; b=J8oRn5ZhO7COVeU2ZVT8nduKwrcx7YOn2uy1JJic37cSEvd0vr36DN1j73C9OSx/sF IZNCG1Q/if0Fxp0Gxq54uQk3QSpFLMglcjM/misR0e9YbG9vnT12//98m+0St3L1AcQl VBMIeMTBxbAyMWMemcZQj5/stP+D8Sgx9xgsUeJziNx6KYZg3heIgSP5T7e/vd7drrKT AftSyx/6jcBXBhjwAKx95pWYHO22aX8PxP1KnbpjZvT0EWFqSXPSthCziw5EU6dLxAF9 Zcht0AkBWPTXgnRYZIsh+qEPw1WsnNjeK7QJWBRDUnTSllbXhKu+nYJZZfCq0eOH62Il J25w== X-Gm-Message-State: AOJu0Yx1Mzi5w+pzwoWUcSigDAae+M1HMu5CT5Tob3xu8YinZxO63k+W WC6JKUf0PRZQ0iZ6vRkpyGg+35CI4uDHbDY1ZLc7iA== X-Received: by 2002:a05:6512:131d:b0:50b:f92c:37fb with SMTP id x29-20020a056512131d00b0050bf92c37fbmr552684lfu.43.1701691635134; Mon, 04 Dec 2023 04:07:15 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id g33-20020a0565123ba100b0050befebf0ccsm541675lfv.292.2023.12.04.04.07.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 04:07:14 -0800 (PST) From: Maxim Uvarov <maxim.uvarov@linaro.org> To: u-boot@lists.denx.de Cc: simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com, sjg@chromium.org, joe.hershberger@ni.com, rfried.dev@gmail.com, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, trini@konsulko.com, Maxim Uvarov <maxim.uvarov@linaro.org> Subject: [PATHv1 4/9] sandbox: eth-raw-os: successful return code is 0 Date: Mon, 4 Dec 2023 18:04:41 +0600 Message-Id: <20231204120446.3277-5-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231204120446.3277-1-maxim.uvarov@linaro.org> References: <20231204120446.3277-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 fixes prior lwip
|
expand
|
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,