Received: by 10.213.65.68 with SMTP id h4csp325219imn; Fri, 6 Apr 2018 00:24:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/XEd1f+wapdJULX+2j8O5CLp07R7JdzQboZQRNBedQvOWNmqsuGPFgM0xm/F6aeFUyhIry X-Received: by 2002:a17:902:bf47:: with SMTP id u7-v6mr19902032pls.133.1522999447075; Fri, 06 Apr 2018 00:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522999447; cv=none; d=google.com; s=arc-20160816; b=dwJq1TCqnd7FCQGX0Ta7Ur/tdV/xNBQwEblDnU2QhqM+EYRJoObnX2yME1crj4tcHy LykwMSHH9W1M8vvQHWHwrs6l+NQyMgfolgPzZXmls0F3f/gzN2njOPmX0zjPzUhaOUIj Sq+n+ytzhCZCTdXDoiyx+5StfjY6Z0zyFzZ6PkkBInBCn5hqyL7MJMPs/t4P3x7uM7Po 2Ouh3VmFBXeqfBmu66eWm0R1xq87POpRmnkb8tMFzk0k0nG7yoH9aJD9941mpT4eIHIC xhuilYcNWlvp1DNsqlg5ok/b3Dvw1Q/+54ud1iuRyHaIEp10Tt+qn4eBQZ26o6V9ScJY Htyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=QYlQDef4qdsajDGLAxN8a82OgagfP0Mlf8GG+zEe9ow=; b=Z6UHFJvz5vZ6ZfWnt1OfxQA4JHkJCstZxc6kPcPym7kIN0TpCznuLABuoII+T2eUsX EVmHNVtyJBG28pyW5eWsjA67xRpvWrFVAfxnQMKtdWxnxkyxqEzlhU26Bf4nd2TUK2ob QUaEeGcWDfntTA2NMAZZIZAHdeAQJA/+E8Iy8YiauTnBCk/v2INoP8y2GJ6kmuLWbRy4 LYXrL9/Zv6t/HgdK/KnmKb/fGhvvAFmarQZEHuCJITqog7dPfEuhsdpcuHP5rraduPeA EYPMjrRE6tyc86MpwQJOJHhYulLugtmNFlf+gS7OtucH0XjasOUUxUE8AKbbcsz1Mdz0 if7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=TVTkfrFv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si6647430pge.719.2018.04.06.00.23.53; Fri, 06 Apr 2018 00:24:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=TVTkfrFv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751523AbeDFHWV (ORCPT + 99 others); Fri, 6 Apr 2018 03:22:21 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:34485 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751201AbeDFHWT (ORCPT ); Fri, 6 Apr 2018 03:22:19 -0400 Received: by mail-qt0-f195.google.com with SMTP id l18so206451qtj.1; Fri, 06 Apr 2018 00:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=QYlQDef4qdsajDGLAxN8a82OgagfP0Mlf8GG+zEe9ow=; b=TVTkfrFvc1ca5CHJfQPtCb/4jNv6uIRFoO793vk4l7aLK6AAvwQLmxOt3IMhn/gTv6 aKmhoSRyXS/ZhVi/3b3G6ZUBV3P419zPDwtvJg/xVyC3F4P2Emi7zF0nTB1sBb15CYyf plYAQwvtuuv1yzzqzfjho4DEIE1xxgX339MPRmSio9OPyyVQsuD2ruKX4Gu0qxFNhWfP 4w/T0nsmf20J8dza49/ymQWAKFRRlyqBef71uHw6EVa5EfBetRSX6KXZ5Wy58g9vgQ+8 A+74KTtQyqLT/t/fDy4xvLQXiwC4mjeCvHZiaTzsBQ/cq4k82d3T6eaAYHb7RZo52YVE f/ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=QYlQDef4qdsajDGLAxN8a82OgagfP0Mlf8GG+zEe9ow=; b=PDv4dLbrElj/88rlk7l2U2QBNpaH0n6AuzF1uIV/Kp7UWX5pGMAfFBqx4aXSjbq6df 0h3T8F8tvwGZTlQh09PgW9qoXaPviPIwtld57hNjAFV5cIa9ikcOuRYEnNwDDxYEb8jj cHLNzbDP/mPvtFmyVsQ8z4uXdmRA+VuSztysdPLaTIEjNh83vzSbdSEUjWUJtM3aF0yZ GhvRXu2O70pSzItbr1w1w/Z4+3171jQQPjCdJt1iTv/KuV0TQ/GagNys6iC70aJuhEea JhX09R7bP2q4C8/mnwX8KJw/vW3PanKizXHy6AEj6kuQIa9J1mbupXeeQrUcm/tcJX8b eEjQ== X-Gm-Message-State: ALQs6tD/tYFmKC9xGwg2mzMn6PHiIp9lm+iv9gKORCcnpd12tNUEx0pY XgUVTezFT6+CY0zUkLNBDS3/szAcgBw2x3nAqrKsrw== X-Received: by 10.200.65.200 with SMTP id o8mr37021679qtm.75.1522999338889; Fri, 06 Apr 2018 00:22:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.25 with HTTP; Fri, 6 Apr 2018 00:22:18 -0700 (PDT) In-Reply-To: <20180406070938.GE8416@kroah.com> References: <20180223170742.426320243@linuxfoundation.org> <20180406070938.GE8416@kroah.com> From: Arnd Bergmann Date: Fri, 6 Apr 2018 09:22:18 +0200 X-Google-Sender-Auth: 1WV13Fm5a0eoGICqZDLXz3JGEOA Message-ID: Subject: Re: [4.9, 137/145] spi: bcm-qspi: shut up warning about cfi header inclusion To: "gregkh@linuxfoundation.org" Cc: Florian Fainelli , Linux Kernel Mailing List , "# 3.4.x" , Kamal Dasu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 6, 2018 at 9:09 AM, gregkh@linuxfoundation.org wrote: > On Tue, Apr 03, 2018 at 10:46:07AM -0700, Florian Fainelli wrote: >> On 02/23/2018 10:27 AM, gregkh@linuxfoundation.org wrote: >> > 4.9-stable review patch. If anyone has any objections, please let me know. >> > >> > ------------------ >> > >> > From: Arnd Bergmann >> > >> > When CONFIG_MTD_CFI is disabled, we get a warning for this spi driver: >> > >> > include/linux/mtd/cfi.h:76:2: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Werror=cpp] >> > >> > The problem here is a layering violation that was fixed in mainline kernels with >> > a larger rework in commit 054e532f8f90 ("spi: bcm-qspi: Remove hardcoded settings >> > and spi-nor.h dependency"). We can't really backport that to stable kernels, so >> > this just adds a Kconfig dependency to make it either build cleanly or force it >> > to be disabled. >> >> Sorry for noticing so late, but this appears to be bogus, there is no >> MTD_NORFLASH symbol being defined in 4.9, in fact I can't find this >> Kconfig symbol in any kernel version, so this effectively results in the >> driver no longer being selectable, so this sure does silence the warning. >> >> Arnd, should we just send reverts of this patch for the affected kernel >> or should we be defining MTD_NORFLASH somehow? Am I missing something here? > > I'm going to revert this patch for now, thanks. Yes, please do. Sorry for missing Florian's bug report. I looked at it again and found that it was never intended for backports to 4.9, as the regression addressed by the patch was originally merged into 4.14-rc1. Arnd