Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10135916imu; Sun, 30 Dec 2018 13:46:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN5hZKpDJDHKqzGdkRJ/K3A8o/U2QIvhiUtBfN1alAepVklNDTaZaxfUkAJB4pRY1iEWBj2l X-Received: by 2002:a17:902:9a41:: with SMTP id x1mr34973675plv.126.1546206362034; Sun, 30 Dec 2018 13:46:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546206362; cv=none; d=google.com; s=arc-20160816; b=xOvk+f1++eXRkRWOCVbnFlQlVpbF/NRCHG0FRtbwJ2SFomggTeycr7CcSwrvNKCVVF 3Lto7OElATF8kj7goAcNLcxwYfQS7xYalhvzjlVORXtzPQglX9HpbV1W3OlDe8M+spK1 TLnBl4gDwNraEWCieGfVgaTTYmSYpT0NM/hrZiAVpn5mZvJUz36Hae3hfvqTSShLXUam DvrrjoXszLSzvvl2fBrwJtXpl2/BZ+nQZDUMEOjk2Gd5h8uIOcc/tSldn/a/PuvIbXBP FSIlHPRFlLxCqbTfCCu8MYk8ilFFpfIhnCsAj54oYgShmE0iOTCNBeaRkpVNCyffO0Sr lvyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date; bh=dFJb3EBidAAP2wdfmpAOwOdpU72zpS8XtLg+n45/C30=; b=EUv13IBBKDhmoyaYtMO/jfXwT26Z2vx134pxcKX9jrCjkWUpSLXlh70+NZSgE4H4wJ ifuzQczmG/uSbd0cRPy1skUCNmVZXzzEfLMNgtUingMIO9BMRjdqKFhGQzfxwQot0zrr 12hi4BspF+KIhp93dZZBt1U2fe+JFJc94afxTSC2BHh3ni/3JMuOXA5ay6da1tTEOUSQ Z4fobYPoWBOftkuc7wlFYQwQeaLQbhV0pqKCuU8OdUWpTN5M5gGHgJh6l6yFULOinWwi fGke5HqPNzFblR81NFLLICbjWBBAGMichksv/jBctNBcxNfV97HrlCS4StjbVv2N1pQx PNXg== ARC-Authentication-Results: i=1; mx.google.com; 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 e7si1120278pgv.499.2018.12.30.13.45.33; Sun, 30 Dec 2018 13:46:01 -0800 (PST) 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; 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 S1726798AbeL3VoM (ORCPT + 99 others); Sun, 30 Dec 2018 16:44:12 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:33572 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726342AbeL3VoM (ORCPT ); Sun, 30 Dec 2018 16:44:12 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id B1B9D29951; Sun, 30 Dec 2018 16:44:09 -0500 (EST) Date: Mon, 31 Dec 2018 08:44:07 +1100 (AEDT) From: Finn Thain To: James Bottomley cc: LEROY Christophe , Arnd Bergmann , linuxppc-dev , linux-m68k , Linux Kernel Mailing List , Greg Kroah-Hartman , "Martin K. Petersen" , linux-scsi , Michael Schmitz Subject: Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM In-Reply-To: <1546193203.2844.9.camel@linux.vnet.ibm.com> Message-ID: References: <20181228173846.Horde.z_zDEJN0rVd8tkt3HjYzmg2@messagerie.si.c-s.fr> <5e901432-65e2-c87b-31e3-36a394687a9a@gmail.com> <20181230185002.Horde.AdSknvcs4hP1Kh_T_Cos6w8@messagerie.si.c-s.fr> <1546193203.2844.9.camel@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 30 Dec 2018, James Bottomley wrote: > > That said, as has been pointed out, the current #ifdef has a failing > corner case when both are modular (because the code should then be > included). The runtime macro that correctly expresses this is > IS_REACHABLE(CONFIG_NVRAM). > No, in the case of CONFIG_NVRAM=m, the conditional code is deliberately excluded. This is discussed in the patch description. The convention on PPC32 is that device drivers drop support for NVRAM in this situation. I've adopted the PPC32 convention here because M68K drivers and PPC32 drivers have to co-exist (I'm thinking of valkyriefb, but there are other examples). -- > James > >