Message ID | 20200616094546.32542-1-heiko.thiery@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=j6BLNQiw; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49mRn90kZJz9sRK for <incoming@patchwork.ozlabs.org>; Tue, 16 Jun 2020 22:08:45 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4E11681F21; Tue, 16 Jun 2020 14:07:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="j6BLNQiw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E06A881EBE; Tue, 16 Jun 2020 11:46:01 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (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 2A99781EBC for <u-boot@lists.denx.de>; Tue, 16 Jun 2020 11:45:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heiko.thiery@gmail.com Received: by mail-wr1-x441.google.com with SMTP id p5so20015491wrw.9 for <u-boot@lists.denx.de>; Tue, 16 Jun 2020 02:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v0KbvfnODMU8kKBurhFX7BFrwnnNhTm4XGBxACOXTvk=; b=j6BLNQiwiKie0k0FToHTsfD7THP7nRsBUNhBGpjqb/4N9hPY3y/5CBW4yAXz6+ypCZ L4FtJkIEId5xgFbdfSyPbeaSOLWLealxS1wLmWsa7WPJ2LpUqDYaWtd+Ccki7cPoCye0 OcLcoVSiS9ZQ5SivNhu1SY41YboRO83dGYyZHX51ABDCQBi0ba/4sVXCFYK9xUxEZmRz KL6BudA7IhGAMVHlUxS6mgQYAR8iCM5pAqYjk6h7MUtDPo/WaarAEnndyy1hj6vBwqmw sw+tTzmkh1CpDO2ZTwK4VUN2SSvgc8fi5K+Bx2JZTHegKT8O+ewsWu+cGvNORStryOTx xruw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v0KbvfnODMU8kKBurhFX7BFrwnnNhTm4XGBxACOXTvk=; b=uAdhA3AReokqhwfrvqlEoO4VpycZuydrnqJZRY3BKUfEzs2Hd+AMqei/c8mER2fFMb B/vKWef5NOfjfDp6dAWmmk4xqIe6sYgFtZgepwavvmv6ZJog2wFiq8Ua6H9xnx9CVI0Q 6AOExtf4Y0k39NXAWo0fbvSmR1yO5o3XlDrITCP0ojLABjj1b+exBZ1DSTOomehZHSgX Qb+1uMMb6TCJNk6RfhGo52e3+fn8hiGEjE0sg8raylhrJMj6NmarwAWb6VjKe3RzccB/ 7pUF6sfnh27LLQRH9sjpMrDzfo3vMd/wzqyUzreM4ezJ02U7jYT27c6HorWBEQa08vXj FhBQ== X-Gm-Message-State: AOAM531zFr3u8gSoacwDdicOyjsFmf49JuotdJVIUcUS/qv4hzyA4z/w 8Dc1LruYqvwqmJzpnIYqebRpB/Py X-Google-Smtp-Source: ABdhPJwp3wu88aBuqPv/T3kCuJRsVZxhRCUiefQV/jJ8GswJO7gxiVQCYpbigp7YpEXnps/gBuBOxQ== X-Received: by 2002:a5d:6305:: with SMTP id i5mr2099907wru.268.1592300748305; Tue, 16 Jun 2020 02:45:48 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id e5sm29917149wrw.19.2020.06.16.02.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 02:45:47 -0700 (PDT) From: Heiko Thiery <heiko.thiery@gmail.com> To: u-boot@lists.denx.de Cc: Thomas Schaefer <thomas.schaefer@kontron.com>, Heiko Thiery <heiko.thiery@gmail.com> Subject: [PATCH 1/1] spl: fix ext4fs_mount return code handling Date: Tue, 16 Jun 2020 11:45:46 +0200 Message-Id: <20200616094546.32542-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 16 Jun 2020 14:07:04 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
[1/1] spl: fix ext4fs_mount return code handling
|
expand
|
diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c index 3898041d10..c8d137ed98 100644 --- a/common/spl/spl_ext.c +++ b/common/spl/spl_ext.c @@ -32,6 +32,7 @@ int spl_load_image_ext(struct spl_image_info *spl_image, #ifdef CONFIG_SPL_LIBCOMMON_SUPPORT printf("%s: ext4fs mount err - %d\n", __func__, err); #endif + err = -1; /* ext4fs_mount returns 0 in case of error! */ goto end; }