Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7255259imu; Mon, 3 Dec 2018 09:58:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wf9Vy2W1pLHuuBQJgZQ187EucBGMXMNk7GhieufuzeWoXLRczeG5284yX9AcD+ySFxE228 X-Received: by 2002:a17:902:b7c7:: with SMTP id v7mr16913707plz.75.1543859937320; Mon, 03 Dec 2018 09:58:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543859937; cv=none; d=google.com; s=arc-20160816; b=BdIjQujzrkhPPgC2pUdAlStsJbb5JcXMXZ1UxYDVxfpEkCBlJZGMt3LBF2xuHIbeF0 M5tEfZ3zNKqE9X1Nr8jqxLhnLEbUgtvLWbdUbPMQ3ZjPPj6pXlZ+IVEYGlfNDKz6rMW9 H9Vmsp3tDLPBT/QOkseosP/uwOVVez40PBjL/btgaW0u4MAeVNQzsFyePfS+KlThXkwc m0qV6tbom6T9cv2//fEDKdbefybYDJAgiHBq3ZTzKgKRUSraYZyhoRfBEyNnywKZQtQG BYGgznvYwIhSKMq0cIOGjY1TthEBtK/wvKhBg9VdNOPJT86+1xDG6LZUnPArqYM/9iwl yPEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=6NqADW6AmyNcuQLrqLkQPpNYbJNUFpjJxnRRSJC0avo=; b=RBvD/C8jlNM0JzWorL+vzbRcvOC3oUM50oL1dYZVP17VUVeYepwQ0nm/0btA99Fx79 e0V5KnB4qYywRzPLsk6Vun9+oovAybZngvUtk+YGlNMjKF6oxZ8cigEUgbVBy5xwdZdp fbWDtr6xL22uGW834TfBYyKTnGlK5749KGCLQSHAPi2Bpzg3h8uEyMq3YCC7KFhvApmW DIJEKs1CCwQ0YLky6Ljui4uDDCOxHkZoNPQZnzWxpz2Tx6ch5g0fuHhJLR/MMETU0Y6+ DiAAhE0bYvNxpzrS2mtmMoKH6rRQgGN64q4Zk8E1Zm/BK01k8CIGAd6S/eqYGZW+KbX0 N2hg== 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 s13si13121378pgh.583.2018.12.03.09.58.38; Mon, 03 Dec 2018 09:58:57 -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 S1726952AbeLCR54 (ORCPT + 99 others); Mon, 3 Dec 2018 12:57:56 -0500 Received: from einhorn-mail.in-berlin.de ([217.197.80.20]:50505 "EHLO einhorn-mail.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbeLCR54 (ORCPT ); Mon, 3 Dec 2018 12:57:56 -0500 X-Greylist: delayed 344 seconds by postgrey-1.27 at vger.kernel.org; Mon, 03 Dec 2018 12:57:55 EST X-Envelope-From: stefanr@s5r6.in-berlin.de Received: from authenticated.user (localhost [127.0.0.1]) by einhorn.in-berlin.de with ESMTPSA id wB3HplKa028835 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Dec 2018 18:51:56 +0100 Date: Mon, 3 Dec 2018 18:51:46 +0100 From: Stefan Richter To: Geert Uytterhoeven Cc: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 resend] firewire: Remove depends on HAS_DMA in case of platform dependency Message-ID: <20181203185146.71a01d85@kant> In-Reply-To: <20181203122712.12751-1-geert@linux-m68k.org> References: <20181203122712.12751-1-geert@linux-m68k.org> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Dec 03 Geert Uytterhoeven wrote: > Remove dependencies on HAS_DMA where a Kconfig symbol depends on another > symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST". > In most cases this other symbol is an architecture or platform specific > symbol, or PCI. > > Generic symbols and drivers without platform dependencies keep their > dependencies on HAS_DMA, to prevent compiling subsystems or drivers that > cannot work anyway. > > This simplifies the dependencies, and allows to improve compile-testing. > > Signed-off-by: Geert Uytterhoeven > Reviewed-by: Mark Brown > Acked-by: Robin Murphy Thanks for resending. Applied to linux1394.git #for-next. > --- > v4: > - Rebase to v4.18-rc1 (applies to next-20180622, too), > > v3: > - Rebase to v4.17-rc1, > > v2: > - Add Reviewed-by, Acked-by, > - Drop RFC state, > - Split per subsystem. > --- > drivers/firewire/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/firewire/Kconfig b/drivers/firewire/Kconfig > index 145974f9662b63e6..4199849e37585181 100644 > --- a/drivers/firewire/Kconfig > +++ b/drivers/firewire/Kconfig > @@ -1,5 +1,4 @@ > menu "IEEE 1394 (FireWire) support" > - depends on HAS_DMA > depends on PCI || COMPILE_TEST > # firewire-core does not depend on PCI but is > # not useful without PCI controller driver -- Stefan Richter -======---=- ==-- ---== http://arcgraph.de/sr/