Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4230723rwj; Tue, 20 Dec 2022 07:38:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXtuAHdJlHUbE7uv/hdpIHCiPJXhSlFxe1OwCp3Dgqg0xwhHF2c+OhUFmX0t8WpkAISzvPwU X-Received: by 2002:a17:907:9d17:b0:81b:fbff:a7cc with SMTP id kt23-20020a1709079d1700b0081bfbffa7ccmr8069413ejc.18.1671550684026; Tue, 20 Dec 2022 07:38:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671550684; cv=none; d=google.com; s=arc-20160816; b=UVAylQZPLOrUdLXAk4aWsC6iouo6Pm6vazWotUmc/qbRNemi0fUGlZgOnhuee+Naoa k2rOl1qpsSOZKDw1WI9tOJf/PJ0B7cEmfU8ChvlmDdFuqjGGd2SP7tJZxib+sI7/zR80 0bv+4GmP8iBhnuHE5ETiaV2SftJC8IEEh0DhQxm0VjZUxeBIWSTh7E317VZ1EJDGSusT 5sNOzxpHwatcvKYZc94ubzjg+h3knnuhMqWU8Nm217sl3Xkw40LKPFDre75DzZ8VvPnY 4lvsU+ZrJklTc6qmn2vQKdSBQK8s6BFrIlVwPSRARSvSLJcwft48AAh77uTS0suIxyDl EFsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=iClaCkki3v9TPMge0vG+JPP+v5Fih+a6PrGlURk2qMw=; b=QmITy40SnRau67M+Va8CCYuMKRYf2sJwCkWydWEFdsGGGyd/Vid2EsUSdKWVslLvQn yKCThvwTVFdDawN2Cjg3LShZfpnGDzauZxRuIRVjcSD7qSfCf+IKUpDPAOi7AoZdInX9 0MJVvD93kDPiWkJNR9IkzBX3VTojxy1iSW53aetpQC4RZgH/XrIMgppsGXmAOvM6GpyB 9rT1YKnH6MJPsokhaIHFc6i+nUm3lxb2e0EGqWAnTih4osJCfvbtYjJWibl9Q2LguzES 9wg37JPbZjZyFv6mQj2Ve/KHhSHFlIQy7RHn1nOLgYf2bMoZ2aUOQvbsOUXWL2EIwHCb pvLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=uPvgbxBl; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=MpCozFlq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd39-20020a17090796a700b007c170f6b32esi12809034ejc.527.2022.12.20.07.37.47; Tue, 20 Dec 2022 07:38:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=uPvgbxBl; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=MpCozFlq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233669AbiLTOlw (ORCPT + 69 others); Tue, 20 Dec 2022 09:41:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbiLTOlu (ORCPT ); Tue, 20 Dec 2022 09:41:50 -0500 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF585E023 for ; Tue, 20 Dec 2022 06:41:49 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id AC73C320046E; Tue, 20 Dec 2022 09:41:46 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Tue, 20 Dec 2022 09:41:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1671547306; x=1671633706; bh=iClaCkki3v 9TPMge0vG+JPP+v5Fih+a6PrGlURk2qMw=; b=uPvgbxBl+RLNwBRhA3s2XMwpGZ adg3K4GH55BD0Uu8mXlm0O8eOfygPTlOCsQxuFjZWdoTsYZWaAzAU74mpnxERt4S sFpIuH/dyJUhjn9bKKciqwvGxQ6po+4G9f60Uow5107Rpb8L+SchjQDFGObo0tKr iDEJjRXWIGM5B9uaTuD/buHrSX27oacKqn51BeDOEbS9aOHvUbUS0gfZVXYV0jh/ VAkks0FIjdqjRg5xFX25g0YWxfTEjd029WDiy/k84yWdjAxEUXyCgPAWsxrRqz5f BYbLhqLGcMhqtsTbk3tBfVyBR0Cd0reH1oaWGjC6T2hMXTV5K7+tbJjkmLYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1671547306; x=1671633706; bh=iClaCkki3v9TPMge0vG+JPP+v5Fi h+a6PrGlURk2qMw=; b=MpCozFlq5uZQhmz/uQRiZzbJd1WOFsKMBoeeJ6d+ttTu J+LfBtyv2G1SGSW3Gq2dK3Agg3ovKAr4MG0ZV0pnNunWATmOW2SgBB7IdagJ/O3q ndEwPeBbPGaDR/3IK6Z7YHA0c7sRnWWAoKUCrM8FCIKqHvIS9pq+vU5H08wwTmsI 2CeiLdGm7+NTeBk9IOX5VkbmMeReOSo1N6UvEB+l0C9P5AEpMfHYAmQZ3feBL0LK TrpADovj8/fVDXjFmHH0jxyMbtopuQOl3GAptgV0izp4PoXUY6DeWwec4DzD5Xnt B/PqcaL7mT9t4VohYpeVhu2i10iUM+nJZ3c/WMMdyA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeeigdegudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7E8C0B60086; Tue, 20 Dec 2022 09:41:45 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-Id: In-Reply-To: <4a378429-9a23-13a2-5837-512823e182c3@linaro.org> References: <20221215163950.649791-1-arnd@kernel.org> <4a378429-9a23-13a2-5837-512823e182c3@linaro.org> Date: Tue, 20 Dec 2022 15:41:25 +0100 From: "Arnd Bergmann" To: "Tudor Ambarus" , "Tokunori Ikegami" , "Arnd Bergmann" , "Miquel Raynal" , "Richard Weinberger" , "Vignesh Raghavendra" Cc: "Lee Jones" , "Mauro Lima" , "Tudor Ambarus" , "Mika Westerberg" , "Boris Brezillon" , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: cfi: allow building spi-intel standalone Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 20, 2022, at 06:51, Tudor Ambarus wrote: > On 19.12.2022 17:12, Tokunori Ikegami wrote: >> >> On 2022/12/16 1:39, Arnd Bergmann wrote: >>> From: Arnd Bergmann >>> >>> When MTD or MTD_CFI_GEOMETRY is disabled, the spi-intel driver >>> fails to build, as it includes the shared CFI header: >> The header file linux/mtd/cfi.h is included by the head file >> linux/mtd/spi-nor.h so seems the warning caused. >> Is it really necessary to inculude linux/mtd/cfi.h from >> linux/mtd/spi-nor.h? >> (It seems that it can be resolved the issue by removing the including >> cfi.h from spi-nor.h if unnecessary.) > > SPI NOR does not depend on CFI. cfi.h shouldn't be included by > spi-nor.h, indeed. Right, I sent v2 now doing this instead. Arnd