Message ID | e2901183-7f81-7a32-0a31-df01ceb34009@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=p/7bXTad; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=TywDRaR/; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=bY4mh7pA; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R5Nzk3lJTz1yY9 for <incoming@patchwork.ozlabs.org>; Wed, 19 Jul 2023 15:05:06 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:From:To:MIME-Version:Date:Message-ID: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3Zkx7mgcKMgyMagdwPko2sq7CKiqrFf9hSpQgoIgKlc=; b=p/7bXTad2CzLsZ U2SNE3y4B3HIt1ZFq/mCQJ1aGiohWlJR6g4xduy2KGxQbbaopMp4T44mr4hr4fZveWKZFyVYM3ehY +csXYs+1a8H0vy+ygHRQXIm/TRE9z6Y8//vTd0bWbdV6HruuCo++cCA3ihPydiwefwCsPdetRecZj bdTken/LL9MuyMYJHUZEhDFAHLg/qNIGHYAN0TQ7heOKGZbbbksLtWLQQM+45+7ezBZnxWKm13gms a6BRUKHkEHfrSZuf2dwefUw26l9SmEYExg9LUyV9R8fz0+18bUc6EfxQFrmjWBwRA94XyfmkxMPbN FjnxXgi80nS0N6iIveCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qLzMb-0058gJ-39; Wed, 19 Jul 2023 05:04:38 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLzMa-0058fX-1P for linux-mtd@bombadil.infradead.org; Wed, 19 Jul 2023 05:04:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :Subject:From:To:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=aIWX+0QkR2seeNG4gDy+FdG9otR+wY0jdRk5Cj3RhpI=; b=TywDRaR/SCgJt+BGvgzBabRMn+ W5lkUBKlhPaJYZWy1b5X54zyySHxdw98EuhlUsQjGpOvJLoZbkruy3a3MsE+MFI6ld39y+9VmXccT CF0IKhlja2+oeX0ir2i6E7A+FWHI8FHjwF+PBR00jHdUeVArPBL238mBRc3O0r8aFzbGnNcmvnnNE a++jAmxU/zEYL/+OMxKu87j6s52FWK7YKLmijn8Rnqxs1EcXQa3peKXnVAN2iIpL2y/2dbIWNYzKh RG0yphz7DFBu9mXT7IIkznvAn4jB6hvkEV5wpriG32Ut76nEuoLmhSJzBW2kFiLM7t6HxdWs4yspX k7/Y29sg==; Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLnz2-00Bm63-1h for linux-mtd@lists.infradead.org; Tue, 18 Jul 2023 16:55:34 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4fba1288bbdso9681503e87.1 for <linux-mtd@lists.infradead.org>; Tue, 18 Jul 2023 09:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689699211; x=1692291211; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=aIWX+0QkR2seeNG4gDy+FdG9otR+wY0jdRk5Cj3RhpI=; b=bY4mh7pAYXCi5ofSU6YgOLwOlzNiipc0rS/N3O3MF43SZPO55NMteq8blAmiVG7nT3 zf+QYzm24SZhPoVp8iYq8euC3M0B1V03xIrC+1gBGo9NHkR8vSiF+RD96q9WaXomezVc VMAxAW4B4X5qZaj0uyK7D/zfvhiNeh1dwlAZmbm2oprKmm9bE7xdAi49lPuMA1vaOmn3 9KtuebpRgNDHIrXLQUffT9W6QX5Dvu86zqw3CAe8ubWz3NE/BGxcgdDMgiZkp4DKXpsq 38TRmhRHR4fuv29u10KOE76MXcVr26gF7YnGuP4pWgkcRBPr+6uRxNy8DOWoA2XDc9rN KxmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689699211; x=1692291211; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=aIWX+0QkR2seeNG4gDy+FdG9otR+wY0jdRk5Cj3RhpI=; b=iQ34Dh8gWvH+EPk2xBK+FhP/Td/LOjwMvDO8U5NRQCMXXIC79yGuAT7t8SWDS40lfs vYEcVs9eFqN4A3/qHvwuygClraxSs5uNMoPDZ+eAiDBhJFKIPjSfLsTJlhZu+qmJq/w+ 3MjMiMuFhNelk8aGlr8iqxuzKdSMMLmYnp71KA0YfVlksGXnno1gmmYLgC4aSQTCUg1p rpWCw5EquuV37yA1rSFMIwDRKmD+3cU7o2RrB1ioTBnnEUodvKV3jLVuZ4CylhUy5skl L1o9MO2fSFoN3E5VgFqRcRfdQqTk0TB7tg0+egrD5cUzk3T6XCfmRxX+B1JkiGwLq97X XDhQ== X-Gm-Message-State: ABy/qLYy5wlVCzH1xeA6DTCJdMRgkB5unKxzXrZFaWWuS7GM61Bv9QqZ arWKY6JtobTist1c1LIn3rL/w24y5/P0PbOe X-Google-Smtp-Source: APBJJlG2zw76wKh8Nx0j2+eftk//UrSKvOU1k8CnYe8ogaiZYIROXGghejKexVUnl1UiQwajoCXuQg== X-Received: by 2002:ac2:4318:0:b0:4fb:9d61:db44 with SMTP id l24-20020ac24318000000b004fb9d61db44mr12428399lfh.12.1689699210970; Tue, 18 Jul 2023 09:53:30 -0700 (PDT) Received: from [192.168.26.149] (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.googlemail.com with ESMTPSA id w18-20020a05651203d200b004faa2de9877sm515026lfp.286.2023.07.18.09.53.30 for <linux-mtd@lists.infradead.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jul 2023 09:53:30 -0700 (PDT) Message-ID: <e2901183-7f81-7a32-0a31-df01ceb34009@gmail.com> Date: Tue, 18 Jul 2023 18:53:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: MTD Maling List <linux-mtd@lists.infradead.org> From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <zajec5@gmail.com> Subject: mtd: WARNING: CPU: 0 PID: 1 at del_gendisk+0x27c/0x2fc X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230718_175532_711178_976536A5 X-CRM114-Status: GOOD ( 15.16 ) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I've noticed a following WARNING with Linux 6.1.38. It seems harmless but probably should be taken care of. I'm not familiar with blktrans. Any volunteers? :) [ 0.592614] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xdc [ 0.599135] nand: AMD/Spansion NAND 512MiB 3,3V 8-bit [ 0.604338] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz [...] Content analysis details: (0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [zajec5[at]gmail.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:129 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [zajec5[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
mtd: WARNING: CPU: 0 PID: 1 at del_gendisk+0x27c/0x2fc
|
expand
|
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 35a7adad4..03f4d844e 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -557,7 +557,7 @@ static int mtd_nvmem_add(struct mtd_info *mtd) if (PTR_ERR(mtd->nvmem) == -EOPNOTSUPP) { mtd->nvmem = NULL; } else { - dev_err(&mtd->dev, "Failed to register NVMEM device\n"); + dev_err(&mtd->dev, "Failed to register NVMEM device: %ld\n", PTR_ERR(mtd->nvmem)); return PTR_ERR(mtd->nvmem); } } @@ -810,8 +810,11 @@ int del_mtd_device(struct mtd_info *mtd) /* No need to get a refcount on the module containing the notifier, since we hold the mtd_table_mutex */ - list_for_each_entry(not, &mtd_notifiers, list) + list_for_each_entry(not, &mtd_notifiers, list) { + pr_info("[%s] Calling not->remove: %ps\n", __func__, not->remove); not->remove(mtd); + pr_info("[%s] Done\n", __func__); + } if (mtd->usecount) { printk(KERN_NOTICE "Removing MTD device #%d (%s) with use count %d\n",