[{"id":3679685,"web_url":"http://patchwork.ozlabs.org/comment/3679685/","msgid":"<3514db3f-f49f-4446-a21f-27d9da01c540@bootlin.com>","list_archive_url":null,"date":"2026-04-21T06:14:03","subject":"Re: [PATCH] fs/squashfs: Set ret to 0 on successful read","submitter":{"id":88519,"url":"http://patchwork.ozlabs.org/api/people/88519/","name":"Richard Genoud (TI)","email":"richard.genoud@bootlin.com"},"content":"Hi Michael,\n\nLe 20/04/2026 à 18:35, Michael Zimmermann a écrit :\n> It might still be a positive number due to the call to sqfs_disk_read.\n> This only happens when reading a file from an uncompressed squashfs.\n> \n> I found this by trying to boot using the extlinux bootmethod, where\n> positive values are treated as errors.\n> \n> Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>\n\nGood catch!\n\nAcked-by: Richard Genoud <richard.genoud@bootlin.com>\n\n> ---\n> \n>   fs/squashfs/sqfs.c | 2 ++\n>   1 file changed, 2 insertions(+)\n> \n> diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c\n> index 543db8c7e9e..0768fc4a7b2 100644\n> --- a/fs/squashfs/sqfs.c\n> +++ b/fs/squashfs/sqfs.c\n> @@ -1636,6 +1636,8 @@ static int sqfs_read_nest(const char *filename, void *buf, loff_t offset,\n>   \t\t*actread = finfo.size;\n>   \t}\n>   \n> +\tret = 0;\n> +\n>   out:\n>   \tfree(fragment);\n>   \tfree(datablock);\n\nThanks!\n\nRegards,\nRichard","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=fGLt/j2c;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.b=\"fGLt/j2c\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com","phobos.denx.de;\n spf=pass smtp.mailfrom=richard.genoud@bootlin.com"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0Brn2fDpz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 16:14:17 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id D463D83FFA;\n\tTue, 21 Apr 2026 08:14:13 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id E203B84258; Tue, 21 Apr 2026 08:14:11 +0200 (CEST)","from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id CF9E083E36\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 08:14:09 +0200 (CEST)","from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n by smtpout-04.galae.net (Postfix) with ESMTPS id 883C1C5C9A4;\n Tue, 21 Apr 2026 06:14:49 +0000 (UTC)","from mail.galae.net (mail.galae.net [212.83.136.155])\n by smtpout-01.galae.net (Postfix) with ESMTPS id 1C092600D2;\n Tue, 21 Apr 2026 06:14:09 +0000 (UTC)","from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 99E5410460A28;\n Tue, 21 Apr 2026 08:14:05 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n t=1776752048; h=from:subject:date:message-id:to:cc:mime-version:content-type:\n content-transfer-encoding:content-language:in-reply-to:references;\n bh=kyIoU9avsajY2oOI8JIrKcVmC4WLY1vm9vyDx5gyw4k=;\n b=fGLt/j2c2qNDJpXotyjqjg53X/RPnofI0s03FPp48MxqtozliJ63Bnqcl3IFtYOwlG1U8x\n a1p1MWQSeXkbFQoyy9AmZQ5MzTj5FptGIRv7DG+qfOTSyH4Vk/0uLI6QOC8qyhDY8mckOL\n 2GscjJZREmJAIc+CCy1Vtknfq5kcBDC9z4kjXgEVwnfkR3vQJRFIzLgdgfbyNlW6kDfvge\n kmEhbmWbTxWfq8nBra5M1/uq5DXXRhZKjHXvRojOcFHXZvR1GM5uPYMZS0w6ufZqRWP7Pe\n I+qmD/3OS4NGa3DGbwQUaEKYd6qUQFHWOZ4HYIEizUWmss9DXgVdv0DSZAR+DQ==","Message-ID":"<3514db3f-f49f-4446-a21f-27d9da01c540@bootlin.com>","Date":"Tue, 21 Apr 2026 08:14:03 +0200","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] fs/squashfs: Set ret to 0 on successful read","To":"Michael Zimmermann <sigmaepsilon92@gmail.com>, u-boot@lists.denx.de","Cc":"Andrew Goodbody <andrew.goodbody@linaro.org>,\n Eric Kilmer <eric.kilmer@trailofbits.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Joao Marcos Costa <joaomarcos.costa@bootlin.com>,\n Miquel Raynal <miquel.raynal@bootlin.com>,\n Quentin Schulz <quentin.schulz@cherry.de>,\n Simon Glass <simon.glass@canonical.com>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>, =?utf-8?q?Timo_tp_Prei?=\n\t=?utf-8?q?=C3=9Fl?= <t.preissl@proton.me>, Tom Rini <trini@konsulko.com>","References":"<20260420163551.515651-1-sigmaepsilon92@gmail.com>","From":"Richard GENOUD <richard.genoud@bootlin.com>","Content-Language":"en-US, fr","Organization":"Bootlin","In-Reply-To":"<20260420163551.515651-1-sigmaepsilon92@gmail.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"8bit","X-Last-TLS-Session-Version":"TLSv1.3","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>,\n <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>,\n <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"}},{"id":3679717,"web_url":"http://patchwork.ozlabs.org/comment/3679717/","msgid":"<CAFLszTiMj0-1_NN8bkGLh2D4CcPf2vHQ76yTP_WqouQOB=Boig@mail.gmail.com>","list_archive_url":null,"date":"2026-04-21T07:58:19","subject":"Re: [PATCH] fs/squashfs: Set ret to 0 on successful read","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 2026-04-20T16:35:31, Michael Zimmermann <sigmaepsilon92@gmail.com> wrote:\n> fs/squashfs: Set ret to 0 on successful read\n>\n> It might still be a positive number due to the call to sqfs_disk_read.\n> This only happens when reading a file from an uncompressed squashfs.\n>\n> I found this by trying to boot using the extlinux bootmethod, where\n> positive values are treated as errors.\n>\n> Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>\n>\n> fs/squashfs/sqfs.c | 2 ++\n>  1 file changed, 2 insertions(+)\n\nReviewed-by: Simon Glass <sjg@chromium.org>","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=JuZ6DabF;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=fail (p=none dis=none) header.from=chromium.org","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org\n header.b=\"JuZ6DabF\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org","phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0F9M5Jyzz1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 17:58:47 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 1035983FFA;\n\tTue, 21 Apr 2026 09:58:45 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id EC31784309; Tue, 21 Apr 2026 09:58:43 +0200 (CEST)","from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com\n [IPv6:2a00:1450:4864:20::62f])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id E200B83C51\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 09:58:41 +0200 (CEST)","by mail-ej1-x62f.google.com with SMTP id\n a640c23a62f3a-b9e00649769so551016866b.3\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 00:58:41 -0700 (PDT)"],"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,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","ARC-Seal":"i=1; a=rsa-sha256; t=1776758321; cv=none;\n d=google.com; s=arc-20240605;\n b=G1WVrU8Q7zxkSz4XNv5gHabsPVwlyAW1pkotPyyy2EieZGu/5dz2DI/ynkcAqw3SWF\n LPdJdGkSpJ5bAMnoKlcmus96D/grpj3cbfVEWrzbg4JDf6TzG0eQz3anXNMxJTFkX/CP\n 0o+KCuaJuQnwlVhrBkFjZrNT2lMehZ/RcaMrbrZWCPpNJBIdgGDxcRwmkBVZsCi0EFKS\n KUGJDme2StOAyWVXa25bDrhl45PjnRt2SRe4rWOlbeW5pz7oyM7NqG6N7CeuSI6yq3uE\n AyVPZIYki+2SGWYfeIDW0LOULZnD79wtP5lEz39SNieqHAzyUz4Yusy5fQwlD7X3VHNX\n 2T/Q==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=cc:to:subject:message-id:date:from:in-reply-to:references\n :mime-version:dkim-signature;\n bh=pty1oS1gX+eSLZIpdQTU1tSgzdwwRsshKxjyhB2SfpM=;\n fh=b18uCgLv6wZxa0VDbhih661tjWnVZzC6sSbr5BOYWm4=;\n b=OUpasw+XFXBJ6V8mFiHVQOShRRQSYdsSWVxynGD3Qx+qv80V/OTFfl2ASFn/fBr28X\n hNZvkquuuNcLGV1Z5tppuDHsM9rWQf69j4aja8cyOzY5S64F2e/FUmwzmk01ozIJynpR\n fA8Cs200NbHoIqgsVclfb6PQoGw1RLiX9r6e7jkIRUn1ieF9bW5xleHaUOLTkN7mMYKs\n GQvA+Ejo17t5cBAlzzMXx0mF0oNvDillVplmM8WISc96NR2CNOl7WaD5Vrm21CWIiemY\n Ha/dPJmKhuy2G3dKYVDiGg8f6imwENB5/2fgVyfVw6VrL9JnWQqxc7jJj81CzECD54vD\n Z0Mw==; darn=lists.denx.de","ARC-Authentication-Results":"i=1; mx.google.com; arc=none","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=chromium.org; s=google; t=1776758321; x=1777363121; darn=lists.denx.de;\n h=cc:to:subject:message-id:date:from:in-reply-to:references\n :mime-version:from:to:cc:subject:date:message-id:reply-to;\n bh=pty1oS1gX+eSLZIpdQTU1tSgzdwwRsshKxjyhB2SfpM=;\n b=JuZ6DabFQT4Oq66ap3cx2VOT6YLy6TXBj5bTr4kgx/Z3u/jKnoKiqyhzPLd88onMB1\n QZNUOjDrhdhhkKq0llwLocRniEL800R79vhxHFr8n+WIrZFmAf+B99qyFuO/mwAh2W5O\n Oc735Q2+q5Syl+8zaMeCzuxrArPs3UIrDV34U=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776758321; x=1777363121;\n h=cc:to:subject:message-id:date:from:in-reply-to:references\n :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=pty1oS1gX+eSLZIpdQTU1tSgzdwwRsshKxjyhB2SfpM=;\n b=ekClZIH1cH8DhqccgaXtCJ50D3iWE1QOwoO33ay/SipRiB0BcBjwY6ncUhroWKpExy\n AuSYh+feQk40Um8PJ+wxdztxdaS7V3dbr08fDouwyqxYCprMx5CQ4pBGKUKYFPqeICVI\n R8a5vMHPE0EtZuV3e5ZDsI1EzHOgLPD59zaIS+7X6c8T4SV2IAHp0yhSMMFgwyt5tGVd\n gJP5iGwWTpwrits/Php4BEUGIcyPp1k1Zme1yxsjuoCl4EBh1NUE613GiHmIuD2TlPkc\n QudfiHTL0I4NnDoIe+L2U3bOzFmOF5K1h81FVv7dHc/m5JniO6PuhyxmovCguwoxMbSM\n FHBQ==","X-Gm-Message-State":"AOJu0YxM4fxYgitXXSgTMQimgFrbKPbR6UM0/sTa6bNjFV+GqNHmwEj9\n pJaqwUfw730giLJrWkuh6QcXwFuG6DNFzrL0yz+fmyJBWEWAUzjpPTo2b0EC6ZS8Ut2OXUJvM2w\n 3PqJibTDO4frdcMwZVci6xrTUm63PaCQY0YsH8TwZ","X-Gm-Gg":"AeBDies7EsAOhwlDM27hFxOa4Bxu3Cux7mTeStTASC+E+tYq+Ky3JCX4HyI1etMBbHG\n FNoB86hTmobhAsSwIwNdwWHJ/9eI6QXiyMw+N92zHHCCZmfrrwuE/zKwJ4m3YV+Ns6IZpPIlyAk\n vI7Gwf6SCW+0kdaFlTD3Li7L1MgXq983ZIN+hvbaI5z4IQUDga55TrU9nSDrgTK9xeb3eWGGRct\n A1uIp8ldGviNitS+BrTwO0nh985QpvnNkiSP2Zv2GQGPEyGEFCtMwkTccad2Rj5cPQK0CElSWda\n Ht0hag9H/7AS9k4RdTHQ","X-Received":"by 2002:a17:906:c3a5:b0:ba9:2282:2897 with SMTP id\n a640c23a62f3a-ba9228229b5mr118693766b.15.1776758321235; Tue, 21 Apr 2026\n 00:58:41 -0700 (PDT)","MIME-Version":"1.0","References":"<20260420163551.515651-1-sigmaepsilon92@gmail.com>","In-Reply-To":"<20260420163551.515651-1-sigmaepsilon92@gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 21 Apr 2026 19:58:19 +1200","X-Gm-Features":"AQROBzDLV53UYOQyTw3wpikaM2s5m9iJmJlKmuDQd_nCXcxi0Sn_WnLwdSwyZg8","Message-ID":"\n <CAFLszTiMj0-1_NN8bkGLh2D4CcPf2vHQ76yTP_WqouQOB=Boig@mail.gmail.com>","Subject":"Re: [PATCH] fs/squashfs: Set ret to 0 on successful read","To":"sigmaepsilon92@gmail.com","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>,\n Andrew Goodbody <andrew.goodbody@linaro.org>,\n  Eric Kilmer <eric.kilmer@trailofbits.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n  Joao Marcos Costa <joaomarcos.costa@bootlin.com>,\n Miquel Raynal <miquel.raynal@bootlin.com>,\n  Quentin Schulz <quentin.schulz@cherry.de>,\n Richard Genoud <richard.genoud@bootlin.com>,\n  Simon Glass <simon.glass@canonical.com>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>, =?utf-8?q?Timo_tp_Prei?=\n\t=?utf-8?q?=C3=9Fl?= <t.preissl@proton.me>,  Tom Rini <trini@konsulko.com>","Content-Type":"text/plain; charset=\"UTF-8\"","X-Content-Filtered-By":"Mailman/MimeDel 2.1.39","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>,\n <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>,\n <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"}},{"id":3682318,"web_url":"http://patchwork.ozlabs.org/comment/3682318/","msgid":"<177705665123.2527258.13932648697567149526.b4-ty@konsulko.com>","list_archive_url":null,"date":"2026-04-24T18:50:51","subject":"Re: [PATCH] fs/squashfs: Set ret to 0 on successful read","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Mon, 20 Apr 2026 18:35:31 +0200, Michael Zimmermann wrote:\n\n> It might still be a positive number due to the call to sqfs_disk_read.\n> This only happens when reading a file from an uncompressed squashfs.\n> \n> I found this by trying to boot using the extlinux bootmethod, where\n> positive values are treated as errors.\n> \n> \n> [...]\n\nApplied to u-boot/master, thanks!\n\n[1/1] fs/squashfs: Set ret to 0 on successful read\n      commit: 30885b01aaa4bcdfa3fee9ca3066d3af563e6688","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256\n header.s=google header.b=ZFN/2NkK;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com\n header.b=\"ZFN/2NkK\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com","phobos.denx.de;\n spf=pass smtp.mailfrom=trini@konsulko.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g2y2Q5W99z1yHS\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 26 Apr 2026 03:47:10 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E5C1B8420C;\n\tSat, 25 Apr 2026 19:47:07 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 07CC484319; Sat, 25 Apr 2026 19:47:07 +0200 (CEST)","from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com\n [IPv6:2607:f8b0:4864:20::a2c])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 72BB084178\n for <u-boot@lists.denx.de>; Sat, 25 Apr 2026 19:47:04 +0200 (CEST)","by mail-vk1-xa2c.google.com with SMTP id\n 71dfb90a1353d-56d9f191ae6so5811684e0c.3\n for <u-boot@lists.denx.de>; Sat, 25 Apr 2026 10:47:04 -0700 (PDT)","from [127.0.1.1] (fixed-189-203-106-235.totalplay.net.\n [189.203.106.235]) by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7dc975034e7sm19832464a34.6.2026.04.24.11.50.51\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 24 Apr 2026 11:50:51 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.1 required=5.0 tests=BAYES_00, DATE_IN_PAST_12_24,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=konsulko.com; s=google; t=1777139218; x=1777744018; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:date:message-id:subject\n :references:in-reply-to:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=zg63SU0ClNRpmtb1Ufs27t7wE6wtGca1hRUNY6gvhVk=;\n b=ZFN/2NkK77MqV2xASqV/HTmX1hwh8ig0rr6YINOjl68a3eF4dpPN/3CylGzS693Zg+\n 9xCBZee1zgLfj46rsCySRrArRlRCBnFV+F8ZIMwj6O41FFEOGa3s8ZPuypgACRZJznl2\n tAsRpqMEooo6CcpDklKJq0uhuclbeY8X1aXPs=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777139218; x=1777744018;\n h=content-transfer-encoding:mime-version:date:message-id:subject\n :references:in-reply-to:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=zg63SU0ClNRpmtb1Ufs27t7wE6wtGca1hRUNY6gvhVk=;\n b=Y1+KwQ0y1gxMgv2+3sIlzLk6Mp8wMJaieUpGzI0gpYG0W5XfTqe92ftwdku9t5r3hj\n 3cfHXJxo+PBitf1vvCl+1x2CqFBS8wlhdhNSSqKozS1cq0ClZ/DYwCaDsxH701873PUT\n tns/1RQtPAenM620dmuFN0PRsq8ec6wY4Ks8auMJ3yCVC1EPxcCGDr2lykDpOdKF9W38\n csyBhqIasnkhAsFqnnYagaYvqRzMdsmzJ4BNgBpDu6xk3xCrzSJ8s4Jjl/HFlZckU4uA\n xL+2xz7OGaMUA9pMU4Zt+mlhcWQjSrtS0GmZKhpRbzaxzgHdCyEDKxlnvZ05ktKxFVMX\n cpLg==","X-Gm-Message-State":"AOJu0Yy9zw2+qI5wAI1p3aFS42ynml/ybhD9Ew0//n9D48BfepBayN66\n FSfIxTZjvrf5gueB/ht8G31YyCUwv5KRzdvuuYBpRdC5UXjBj+jeSxzAZZ/IGx/WVV0a+nwg/+n\n D3TSVI3O9vQ==","X-Gm-Gg":"AeBDietZZ7ofudJq7czMnID+/bPpHJ65iaKKKtGEENBdcadXVavfdXl62wNMviy7+Kp\n WGIUFrDwqr1Y4Z7KnqK1KGe8yWTbGL6Kxqh0d8x6b5ICx7tOrPb0yzpHq3EZv5PLg3BRo91+E4n\n w/uAjh2EgFw6YdfJez0DRfp4DLrGF1r6foZP9CnSSp0J50coBLCef0Nbrk6x3N5u4bbDtK8nem1\n NeWnGt8jqLpDOCZqtwKgk5stgGfMeAoJw4C5c1s7QbmYDsS3SKhWqKuUAikbkcydQ4eliEY+lN8\n 2GSbHSZSDC9kG4sMI75EL2CCKGdDPncWUKZZUgI6LKADhIqzJ7z9YOLyoo7qNli+4/bMNdswoqF\n 8/CxAbeEuy7tYrE5bPm2qvFBD2QKKfkQwMkMoi7f2deGjjzEtwDA5Lyg4xKjfv3P4ef766GVVAZ\n hSPylujqrxVpyx9bik46MjAnykXNdySY9miBckQ+UKoLxsTY5XWdOp+jL6+0MjsUVFAd45hW2lj\n fDbaRWIZ9uLK3kJXhcA/2awxGnVMOIfscdMX6FY4MLcJ9hJqkbnNTpce19U","X-Received":"by 2002:a05:6830:8496:b0:7dc:c301:d0b7 with SMTP id\n 46e09a7af769-7dcc301e1a6mr12850669a34.28.1777056652384;\n Fri, 24 Apr 2026 11:50:52 -0700 (PDT)","From":"Tom Rini <trini@konsulko.com>","To":"u-boot@lists.denx.de, Michael Zimmermann <sigmaepsilon92@gmail.com>","Cc":"Andrew Goodbody <andrew.goodbody@linaro.org>,\n  Eric Kilmer <eric.kilmer@trailofbits.com>,\n  Heinrich Schuchardt <xypron.glpk@gmx.de>,\n  Joao Marcos Costa <joaomarcos.costa@bootlin.com>,\n  Miquel Raynal <miquel.raynal@bootlin.com>,\n  Quentin Schulz <quentin.schulz@cherry.de>,\n  Richard Genoud <richard.genoud@bootlin.com>,\n  Simon Glass <simon.glass@canonical.com>,\n  Thomas Petazzoni <thomas.petazzoni@bootlin.com>, =?utf-8?q?Timo_tp_Prei?=\n\t=?utf-8?q?=C3=9Fl?= <t.preissl@proton.me>","In-Reply-To":"<20260420163551.515651-1-sigmaepsilon92@gmail.com>","References":"<20260420163551.515651-1-sigmaepsilon92@gmail.com>","Subject":"Re: [PATCH] fs/squashfs: Set ret to 0 on successful read","Message-Id":"<177705665123.2527258.13932648697567149526.b4-ty@konsulko.com>","Date":"Fri, 24 Apr 2026 12:50:51 -0600","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-Mailer":"b4 0.14.3","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>,\n <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>,\n <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"}}]