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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDE78C433FE for ; Fri, 15 Oct 2021 10:31:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CF49161163 for ; Fri, 15 Oct 2021 10:31:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238032AbhJOKeB (ORCPT ); Fri, 15 Oct 2021 06:34:01 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:36373 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237984AbhJOKdm (ORCPT ); Fri, 15 Oct 2021 06:33:42 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id F2BD9100004; Fri, 15 Oct 2021 10:31:30 +0000 (UTC) From: Miquel Raynal To: Arnd Bergmann , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: Linus Walleij , Imre Kaloz , Krzysztof Halasa , Arnd Bergmann , Lukas Bulwahn , Serge Semin , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [RFC] mtd: fixup CFI on ixp4xx Date: Fri, 15 Oct 2021 12:31:30 +0200 Message-Id: <20211015103130.949127-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210927141045.1597593-1-arnd@kernel.org> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'603362b4a58393061dcfed1c7f0d0fd4aba61126' Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2021-09-27 at 14:10:37 UTC, Arnd Bergmann wrote: > From: Arnd Bergmann > > drivers/mtd/maps/ixp4xx.c requires MTD_CFI_BE_BYTE_SWAP to be set > in order to compile. > > drivers/mtd/maps/ixp4xx.c:57:4: error: #error CONFIG_MTD_CFI_BE_BYTE_SWAP required > > This patch avoids the #error output by enforcing the policy in > Kconfig. Not sure if this is the right approach, but it helps doing > randconfig builds. > > Signed-off-by: Arnd Bergmann > Acked-by: Linus Walleij Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel