Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp52752rdh; Mon, 18 Dec 2023 04:16:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGlrs6SJi1IvVtKKnTPHV7SjRYx1r15PAYKJEHnmVBtb1bIi+PfttIenOWo0k4+EQb/K3lR X-Received: by 2002:a05:6358:2786:b0:172:de50:9230 with SMTP id l6-20020a056358278600b00172de509230mr990892rwb.19.1702901801330; Mon, 18 Dec 2023 04:16:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702901801; cv=none; d=google.com; s=arc-20160816; b=mYWssmKgb0mmia5ST3TlIupsnhxIj1WvQTLTbhEaBcIQAs//apNOcR1jzL81bm39Rf tjAGlZeXDeybS4/FcTVTgctb6Bk7VBwwjrxQcCKyYm2VeF37ET3J/8sfdD3tOHUfbxXV xdx3xNveh37Pb5F880vG2/yIG4yswl7ATuxdkfChQXi4UyiFbNMGcZq2BG5fu3U2gt9f sQQtOMdDJJ/qU6/DdBxCnz7OqatnzCfY33g0wjBGRi0igZnG96vDZ/NfVJoJ0TaD2neD RApSGwZxhsmY3Dx1tFqMqrvgIpMamYCsA01ZfQgbDexy4leMZWj1bCiltVF+CpS6KmW/ w3gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=g3syL4boPsKSxtc4draQO3ijO1mk9nC2sQSx08Ey95Y=; fh=TdRK8jWisSlhlGck5FlF7Fx4FHR1m19pYctJa1J2b/Q=; b=Mt21//bdEiX3gXeIMc9q39FupCoAq8s2QDdsa9rGLa3DNByrOExnr76bXsrOdJEwJP Nm6aUrpS74ji/7BXx4je1Vv112onR3i6DHcp6/j6DPZMoogOrmQoum0iJiZyqZ62zxfs MUav9HRPUpPtli88dwXyH+JXBXH3EA54tYwfbWSQlCLlPX70H83kHEWM5aWzszh7MLor nzKNICIRM3dehSr8RQiF+xLRK2bskEVLdGQ3f0FF17dOIqSPLTsseJckS761XROoJEjG WirBZbe5dYbsSGKWJvU0FAmc1+lEhRVYuBG8JkXBSbLVvxlrxq5gWljjoFucc7ofckhB 6RUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=L9xiH1Ej; spf=pass (google.com: domain of linux-kernel+bounces-3555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s131-20020a637789000000b005cd82917adasi3778421pgc.83.2023.12.18.04.16.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:16:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=L9xiH1Ej; spf=pass (google.com: domain of linux-kernel+bounces-3555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 90A94284FFD for ; Mon, 18 Dec 2023 12:16:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42A2B4F615; Mon, 18 Dec 2023 12:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=walle.cc header.i=@walle.cc header.b="L9xiH1Ej" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 195F14F5F9 for ; Mon, 18 Dec 2023 12:14:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=walle.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=walle.cc Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id CDB6D5D4; Mon, 18 Dec 2023 13:14:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1702901692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g3syL4boPsKSxtc4draQO3ijO1mk9nC2sQSx08Ey95Y=; b=L9xiH1EjkgX7nLQ3y36aVW9YKxib4KCy0Kp2DuUD6jSD8FjuMCJ9s9MPFn0zCGV1+jKguM QlF4Vldvuqq7eS/GtxDHvOQ8SKxdv0uRZP971dTtu/IQDyLeSDKbdw/5Vu/de9WylfROgk 8SWMekbP4/tXESsgGcPvgHBIBv8rDGa9alXpEa4YX5vQWD9+ys9YriHstD7ruxEvX0Risn kM8U4EtrpP/k3EfepFWUjspvNLMsu4P3Uxwq4eyA5YCR0rsE0WAJKH5Pm/DV+fR458OPb0 8GBYogYNq7sOXFYlnIYNbowe5X80FDsZniAg2vvHKHwC2WrKR5WW6gAw7oUONA== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Mon, 18 Dec 2023 13:14:52 +0100 From: Michael Walle To: Tudor Ambarus Cc: pratyush@kernel.org, miquel.raynal@bootlin.com, richard@nod.at, jaimeliao@mxic.com.tw, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] mtd: spi-nor: drop superfluous debug prints In-Reply-To: <20231215082138.16063-5-tudor.ambarus@linaro.org> References: <20231215082138.16063-1-tudor.ambarus@linaro.org> <20231215082138.16063-5-tudor.ambarus@linaro.org> Message-ID: <7d80cc0afe33ee9a9f660b6876b69e81@walle.cc> X-Sender: michael@walle.cc Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Am 2023-12-15 09:21, schrieb Tudor Ambarus: > The mtd data hall be obtained with the mtd ioctls or with new debugs shall, debugfs > entries if one cares. Drop the debug prints. > > Signed-off-by: Tudor Ambarus With the above and the unused variables fixed: Reviewed-by: Michael Walle Miquel raised a valid point that if the rootfs is on this very flash and if there is an error, you cannot use debugfs or the ioctls. But I doubt that the info about the erase regions will help much in that case. -michael