From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A06EBC4338F for ; Thu, 19 Aug 2021 03:41:50 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1A739606A5 for ; Thu, 19 Aug 2021 03:41:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1A739606A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0DA9D82F2B; Thu, 19 Aug 2021 05:41:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="fj6hItLP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E168C82DD7; Thu, 19 Aug 2021 05:40:55 +0200 (CEST) Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) (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 0735E82DB3 for ; Thu, 19 Aug 2021 05:40:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oo1-xc29.google.com with SMTP id s21-20020a4ae5550000b02902667598672bso1397766oot.12 for ; Wed, 18 Aug 2021 20:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0lN+T72r8eqOYqcjtXpDc+6rFL1flrSMn6AQkbBdbIo=; b=fj6hItLPc5lsPfyTuLKaGkVbQr/BqOgswV0mu1cq9S8YmmtV3O6RCczd/2L3AGoeVl mpQi85wbmDB8JV9do46EbZpKPzGXcRQfs3qzkx0hPH5dDdDEUoci7w/MRChszFiLfsM7 5OXK3C0V9RZdmp/AGP5WwIdnx57pGVmDVjAt0= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=0lN+T72r8eqOYqcjtXpDc+6rFL1flrSMn6AQkbBdbIo=; b=efzOxcj1Pcyr57uGsPvaCAvJB9D6vLRUpGRj1TquFrINuIhIaAudk6Z0xOXDkpor4i j4Df/otosySF0Ut9DlAzcxy96kqhiSEZZ/idFPjD0ngUobbVie0JumGfFamiBRE3mDJG 2y3OxUSO27TbYnI2MBsHdeYHvVcEKQEOdmkeaul93lhJj0qNYW/ZnnEo3Wq5MAv9JMY1 /zxrCqduvRsKsI84/qzK171RBEbQNFDjFc4SLAuoxbqi9TYgbXsujgQLmRDUPZSw0y7r +QRyYbpL6ETXE8VUcTAK8+1AX/m6hfxaABgwjQ/KdqadtX6KpgQA5kA56bq91Rch3Qfx lOXQ== X-Gm-Message-State: AOAM531WIryQUEgxY1wjXBMQH+6MsJnf+cd7WXyhcT609ER5ueMagkWc /OsHFradHdvvaiptccpcBss3H0DRkA37Mg== X-Google-Smtp-Source: ABdhPJzI+OXNRuirnhiYkCeGCYKsCLNknfoNz0vWypmfj3uulEjW1jlUlVW0SKyVcGkjRXPU61/N2A== X-Received: by 2002:a05:6820:121:: with SMTP id i1mr9611132ood.57.1629344445443; Wed, 18 Aug 2021 20:40:45 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id q27sm415877oof.12.2021.08.18.20.40.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 20:40:45 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Simon Glass , Joao Marcos Costa , Miquel Raynal , Thomas Petazzoni Subject: [PATCH 05/11] sqfs: Suppress the message about missing filesystem Date: Wed, 18 Aug 2021 21:40:27 -0600 Message-Id: <20210818214022.5.I3eb71025472bbb050bcf9a0a192dde1b6c07fa7f@changeid> X-Mailer: git-send-email 2.33.0.rc1.237.g0d66db33f3-goog In-Reply-To: <20210819034033.1617201-1-sjg@chromium.org> References: <20210819034033.1617201-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This message comes up a lot when scanning filesystems. It suggests to the user that there is some sort of error, but in fact there is no reason to expect that a particular partition has a sqfs filesystem. Other filesystems don't print this error. Turn it into a debug message. Signed-off-by: Simon Glass --- fs/squashfs/sqfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c index 92ab8ac6310..e2d91c654cd 100644 --- a/fs/squashfs/sqfs.c +++ b/fs/squashfs/sqfs.c @@ -1090,7 +1090,7 @@ int sqfs_probe(struct blk_desc *fs_dev_desc, struct disk_partition *fs_partition /* Make sure it has a valid SquashFS magic number*/ if (get_unaligned_le32(&sblk->s_magic) != SQFS_MAGIC_NUMBER) { - printf("Bad magic number for SquashFS image.\n"); + debug("Bad magic number for SquashFS image.\n"); ret = -EINVAL; goto error; } -- 2.33.0.rc1.237.g0d66db33f3-goog