From patchwork Tue Oct 4 21:14:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 1686121 Return-Path: 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=) 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=wyr99U1d; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=ZrP1PLy5; 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 4Mhr7s2nvKz20Pd for ; Wed, 5 Oct 2022 08:15:05 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9NMl2ZEU+0NtUBGqMw4YTgeKROXyPrfACCRotJSUH/I=; b=wyr99U1dcEzUoz lTeKa35JLpAyXoVt9MWZFhHzs2EHc6rsXeLxoA9McIJMGL4AZZRUrRhWx4WUgSPGyB0i3Kmuzq4TP k9PkVRWiMR0D42lxOOAtWvNGuiLLQiu4uKprYRSjyGOTCB6rfQL4KgdBVn+f+VFhOWo9o66EL+lM3 EDsKl46QTLpRjMNUW+e9zs1HQqh4SxhS25rFiccbMJr381qlSPI0k1Jtm+QEWpCSN3TiheqSMR6/h SJxGi7ymtohcbcSEW6nHd0lxFJWvAcTwsGvC9w4yzZpHj5ViO+wFNnXAJUtpxwyYeectFc9KtZ1FR ZQgYwgY6xFjPGVrYpq2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofpF9-00BEhh-Vr; Tue, 04 Oct 2022 21:14:24 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofpF7-00BEgs-7A for linux-mtd@lists.infradead.org; Tue, 04 Oct 2022 21:14:22 +0000 Received: by mail-wm1-x329.google.com with SMTP id 130-20020a1c0288000000b003b494ffc00bso41465wmc.0 for ; Tue, 04 Oct 2022 14:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=XkXIwov4m/9qgzTg66a2/P6fWI2LfTY8JgQsDcsVYWE=; b=ZrP1PLy53pP/rc8G4TvGBmXpTqmFZ/SY6Htzo8NibSOmVtY5adRrD3vJwME8Sp7BnS F4Z5apezARFi0/vJJ5HHOJte9xist+cmEFPDr142wi9FepLdkpOAhkfEfM5p7q1rIL9d YUvhs6I7tQ6tVqy9xKEv/QjdLMn/ipVXXfAdhGfa//n0Lgd46YRpu3fouTmDDIIvE20e amWGkIgnZIF28BO7z7AzI+AdVxiql25wkoxJytUn1+x4tVX5EkVWZuqUj1lDxkwRIjlB ow/Q82t9+K55SO0V1yeidCMeaIT832YiHAH6jnULNSGlFhDBmDfM+7NLxROOKXaBt0aD j2UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=XkXIwov4m/9qgzTg66a2/P6fWI2LfTY8JgQsDcsVYWE=; b=1HSVlIssCRnnpJN0B1k0DTKG67je6/j+zqd150u/FA4EqDa92C0nqpiuTKsG4zPg1U 7JAE5EcGwHomWRQzmGUAbuFv9ixT/JdpjErnBbwxNrjplp1Zt2ZjjisCJI7iRZEU4IR/ jVBMG1erSUMdF3IvdKwSRVwCwV2quO0Tm6f/vrZUZoetD6uwovlYzw+6ewecWax3MJ8n ZxBFjEIKobyNhEoPBh0hLYdNM2gj9n7yiwHF7C2OQ551iWuQIaTeS8jjaR2i+j7Marsy Zr0Fl5JktPCd+XIBpDoUs6pd3g1aiuzUWQpE7YAvHPhbvn/E/AfQCBXZQWCeismT6nSl j4Rg== X-Gm-Message-State: ACrzQf3VsMwm0bBET3W1UU8vrmb3WGL1ITlWy1SU4RTJsLE7ZCI+cF9O 9RIrCu8fV1QPH7YPuGa6sNM= X-Google-Smtp-Source: AMsMyM59l9ZC8Yl3Ao249Cc2WZqR71AVFD0jEz1pnEuVgMeRYp98p2nDFBIkgSgSwOvRdu9IOf0ppA== X-Received: by 2002:a05:600c:6003:b0:3b5:aef:d8d7 with SMTP id az3-20020a05600c600300b003b50aefd8d7mr1141722wmb.50.1664918053464; Tue, 04 Oct 2022 14:14:13 -0700 (PDT) Received: from localhost (cpc154979-craw9-2-0-cust193.16-3.cable.virginm.net. [80.193.200.194]) by smtp.gmail.com with ESMTPSA id j2-20020adfd202000000b002285f73f11dsm16887940wrh.81.2022.10.04.14.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 14:14:13 -0700 (PDT) From: Colin Ian King To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , u.kleine-koenig@pengutronix.de, Mark Brown , linux-mtd@lists.infradead.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mtd: dataflash: Remove duplicated id table Date: Tue, 4 Oct 2022 22:14:12 +0100 Message-Id: <20221004211412.182940-1-colin.i.king@gmail.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221004_141421_277175_F69BD967 X-CRM114-Status: GOOD ( 13.31 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.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: A previous change added a new id table but failed to remove the original assignment to .id_table. Remove the original to clean up a clang scan build warning: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:329 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [colin.i.king[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org A previous change added a new id table but failed to remove the original assignment to .id_table. Remove the original to clean up a clang scan build warning: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] Fixes: ac4f83482afb ("mtd: dataflash: Add SPI ID table") Signed-off-by: Colin Ian King --- drivers/mtd/devices/mtd_dataflash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 25bad4318305..c6d25331e00c 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -939,7 +939,6 @@ static struct spi_driver dataflash_driver = { .name = "mtd_dataflash", .of_match_table = of_match_ptr(dataflash_dt_ids), }, - .id_table = dataflash_dev_ids, .probe = dataflash_probe, .remove = dataflash_remove,